Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 76.94 kB / 19.93 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001/0.001, allocations: 172.9 kB / 23.36 MB, free: 1.125 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9971/0.9971, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.588/2.588, allocations: 438.8 MB / 0.6827 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matGai.y.[0-9,]+.|matGai.u.[0-9,]+.|matGai1.y.[0-9,]+.|matGai1.u.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|matGai.y.[0-9,]+.|matGai.u.[0-9,]+.|matGai1.y.[0-9,]+.|matGai1.u.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 0.8387 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.333e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001587/0.00161, allocations: 0.816 MB / 0.8395 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.000929/0.002539, allocations: 0.8742 MB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.769e-05/0.002597, allocations: 4 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.002778, allocations: 51.8 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.294e-05/0.002831, allocations: 39.77 kB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 6.794e-05/0.002899, allocations: 19.97 kB / 0.8405 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.003003, allocations: 95.67 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.118e-05/0.003094, allocations: 23.97 kB / 0.8406 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.944e-05/0.003173, allocations: 55.88 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.003284, allocations: 71.84 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.003304, allocations: 8 kB / 0.8407 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.003316, allocations: 8 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.952e-05/0.003366, allocations: 35.91 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.003398, allocations: 27.91 kB / 0.8408 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.003504, allocations: 83.72 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003506, allocations: 0 / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003507, allocations: 0 / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.00351, allocations: 4 kB / 0.8408 GB, free: 11.9 MB / 0.8073 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.0003514/0.003862, allocations: 324.4 kB / 0.8412 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.003896, allocations: 8.625 kB / 0.8412 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.003925, allocations: 12.92 kB / 0.8412 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.004052, allocations: 145.5 kB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.004061, allocations: 4.375 kB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.004074, allocations: 12.38 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.004239, allocations: 115.4 kB / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.004246, allocations: 192 / 0.8414 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.004256, allocations: 4.375 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.004261, allocations: 384 / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.497e-05/0.004316, allocations: 33.52 kB / 0.8415 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.004793, allocations: 301 kB / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.004913, allocations: 154.5 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.319e-05/0.004947, allocations: 17.72 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.004958, allocations: 8 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.00498, allocations: 38.5 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.004981, allocations: 0 / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001634/0.005144, allocations: 70.11 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.00518, allocations: 85.05 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.807e-05/0.005258, allocations: 157 kB / 0.8423 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.005268, allocations: 25.7 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.005299, allocations: 96.02 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.005325, allocations: 27.8 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.005358, allocations: 17.7 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.397e-05/0.005432, allocations: 326.8 kB / 0.8427 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.51e-05/0.005457, allocations: 14.83 kB / 0.8428 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.728e-05/0.005484, allocations: 25.69 kB / 0.8428 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.282e-05/0.005537, allocations: 42.22 kB / 0.8428 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.00554, allocations: 0 / 0.8428 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.252e-05/0.005632, allocations: 63.27 kB / 0.8429 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.005644, allocations: 8 kB / 0.8429 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.00565, allocations: 3.938 kB / 0.8429 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.005659, allocations: 0 / 0.8429 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.1e-05/0.00575, allocations: 27.92 kB / 0.8429 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.005757, allocations: 12.12 kB / 0.8429 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.628e-05/0.005793, allocations: 11.94 kB / 0.8429 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.0058, allocations: 4 kB / 0.8429 GB, free: 9.539 MB / 0.8073 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.99e-05/0.00586, allocations: 116.6 kB / 0.8431 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.005892, allocations: 11.98 kB / 0.8431 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.00592, allocations: 20.28 kB / 0.8431 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.005922, allocations: 0 / 0.8431 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.005925, allocations: 3.984 kB / 0.8431 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.005928, allocations: 0 / 0.8431 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.006063, allocations: 97.81 kB / 0.8432 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.006064, allocations: 0 / 0.8432 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.813e-05/0.006122, allocations: 23.98 kB / 0.8432 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.006125, allocations: 4 kB / 0.8432 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.006132, allocations: 0 / 0.8432 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.006135, allocations: 7.938 kB / 0.8432 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.006138, allocations: 3.938 kB / 0.8432 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.006301, allocations: 325.4 kB / 0.8435 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.006315, allocations: 11.94 kB / 0.8435 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.006326, allocations: 0 / 0.8435 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.971e-05/0.006396, allocations: 7.984 kB / 0.8436 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.006438, allocations: 15.92 kB / 0.8436 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.006444, allocations: 8 kB / 0.8436 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.803e-05/0.006472, allocations: 36.33 kB / 0.8436 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006472, allocations: 0 / 0.8436 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001607/0.006633, allocations: 19.94 kB / 0.8436 GB, free: 8.793 MB / 0.8073 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.764e-05/0.006721, allocations: 88.34 kB / 0.8437 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.772e-05/0.006808, allocations: 28.84 kB / 0.8437 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.006811, allocations: 0 / 0.8437 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.336e-05/0.006844, allocations: 21.17 kB / 0.8438 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.007053, allocations: 22.05 kB / 0.8438 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.007389, allocations: 232.5 kB / 0.844 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.659e-05/0.007435, allocations: 71.33 kB / 0.8441 GB, free: 8.273 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.172e-05/0.007467, allocations: 3.984 kB / 0.8441 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.439e-05/0.007542, allocations: 67.38 kB / 0.8441 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of SimCode: time 5.91e-07/0.007542, allocations: 3.938 kB / 0.8441 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of Templates: time 0.002986/0.01053, allocations: 1.156 MB / 0.8453 GB, free: 7.062 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.341211816761643]