Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.454/1.454, allocations: 249.5 MB / 257 MB, free: 6.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 184.8 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008688/0.0008688, allocations: 102.9 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.482e-05/2.514e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2338, allocations: 106.3 MB / 0.8853 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8033/1.037, allocations: 131.7 MB / 1.014 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/1.037, allocations: 71.58 kB / 1.014 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004227/1.042, allocations: 1.434 MB / 1.015 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.477e-06/1.042, allocations: 4 kB / 1.015 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.04e-05/1.042, allocations: 0 / 1.015 GB, free: 4.332 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006287/1.042, allocations: 460.6 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/1.042, allocations: 12.02 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/1.042, allocations: 15.81 kB / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/1.043, allocations: 209.4 kB / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/1.043, allocations: 0.875 kB / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/1.043, allocations: 8 kB / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002137/1.043, allocations: 100.6 kB / 1.016 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/1.043, allocations: 109.1 kB / 1.016 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/1.043, allocations: 3.938 kB / 1.016 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/1.043, allocations: 0 / 1.016 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/1.043, allocations: 4 kB / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007714/1.044, allocations: 499 kB / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/1.044, allocations: 126.2 kB / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.127e-05/1.044, allocations: 58.84 kB / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/1.044, allocations: 3.984 kB / 1.017 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/1.044, allocations: 38 kB / 1.017 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.254e-06/1.044, allocations: 4 kB / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002799/1.045, allocations: 128 kB / 1.017 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/1.045, allocations: 81.11 kB / 1.017 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/1.045, allocations: 140.2 kB / 1.017 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/1.045, allocations: 25.7 kB / 1.017 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/1.045, allocations: 102.4 kB / 1.017 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/1.045, allocations: 27.39 kB / 1.017 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/1.045, allocations: 0 / 1.017 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.045, allocations: 334 kB / 1.018 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.652e-05/1.045, allocations: 37.61 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.028e-05/1.045, allocations: 61.48 kB / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.973e-05/1.045, allocations: 42.72 kB / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.045, allocations: 0 / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001883/1.046, allocations: 129.9 kB / 1.018 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/1.046, allocations: 11.98 kB / 1.018 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/1.046, allocations: 0.7812 kB / 1.018 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/1.046, allocations: 0 / 1.018 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/1.046, allocations: 43.97 kB / 1.018 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/1.046, allocations: 3.984 kB / 1.018 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/1.046, allocations: 31.88 kB / 1.018 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/1.046, allocations: 8 kB / 1.018 GB, free: 1.547 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001014/1.046, allocations: 115.5 kB / 1.018 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002266/1.046, allocations: 127.2 kB / 1.018 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/1.046, allocations: 11.91 kB / 1.018 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.467e-05/1.047, allocations: 22.58 kB / 1.018 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/1.047, allocations: 0 / 1.018 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.047, allocations: 3.938 kB / 1.018 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.047, allocations: 3.953 kB / 1.018 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/1.047, allocations: 198.8 kB / 1.019 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.047, allocations: 4 kB / 1.019 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/1.047, allocations: 43.91 kB / 1.019 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/1.047, allocations: 0 / 1.019 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/1.047, allocations: 0 / 1.019 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/1.047, allocations: 3.984 kB / 1.019 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.047, allocations: 4 kB / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/1.047, allocations: 314.7 kB / 1.019 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.615e-05/1.047, allocations: 92.86 kB / 1.019 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/1.048, allocations: 7.969 kB / 1.019 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/1.048, allocations: 27.97 kB / 1.019 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/1.048, allocations: 15.36 kB / 1.019 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/1.048, allocations: 11.39 kB / 1.019 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.705e-05/1.048, allocations: 123.8 kB / 1.019 GB, free: 448 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.51e-07/1.048, allocations: 3.938 kB / 1.019 GB, free: 444 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002623/1.048, allocations: 16 kB / 1.019 GB, free: 428 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007078/1.049, allocations: 0.9141 MB / 1.02 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002135/1.049, allocations: 90.91 kB / 1.02 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.049, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.128e-05/1.049, allocations: 57.22 kB / 1.02 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/1.05, allocations: 11.2 kB / 1.02 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006195/1.05, allocations: 231.5 kB / 1.02 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/1.05, allocations: 0.7119 MB / 1.021 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.761e-05/1.051, allocations: 31.92 kB / 1.021 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.427e-05/1.051, allocations: 28.05 kB / 1.021 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of SimCode: time 2.9e-07/1.051, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/1.07, allocations: 1.902 MB / 1.023 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/1.071, allocations: 158.3 kB / 1.023 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.429/2.5, allocations: 0 / 1.023 GB, free: 12.28 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)