Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00095/0.00095, allocations: 76.81 kB / 20.75 MB, free: 3.738 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.001538/0.001538, allocations: 161 kB / 24.16 MB, free: 332 kB / 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 1.07/1.07, allocations: 177.2 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.959/1.959, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.7601 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.68e-05, allocations: 2.812 kB / 0.7601 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001322/0.001339, allocations: 0.8296 MB / 0.7609 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008912/0.00223, allocations: 0.8733 MB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.448e-05/0.002285, allocations: 4 kB / 0.7618 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.002495, allocations: 52.67 kB / 0.7619 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.946e-05/0.002554, allocations: 41.08 kB / 0.7619 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 7.386e-05/0.002628, allocations: 22.08 kB / 0.7619 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.002741, allocations: 89.06 kB / 0.762 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.609e-05/0.002837, allocations: 19.92 kB / 0.762 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.58e-05/0.002923, allocations: 56.89 kB / 0.7621 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.003041, allocations: 67.86 kB / 0.7621 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.003062, allocations: 9.25 kB / 0.7621 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.003073, allocations: 8 kB / 0.7622 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.383e-05/0.003127, allocations: 43.83 kB / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.341e-05/0.003161, allocations: 25.17 kB / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.003287, allocations: 83.77 kB / 0.7623 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.003288, allocations: 0 / 0.7623 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.42e-07/0.003289, allocations: 0.75 kB / 0.7623 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.003293, allocations: 0 / 0.7623 GB, free: 4.328 MB / 0.7136 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.0003767/0.00367, allocations: 333.7 kB / 0.7626 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.003699, allocations: 8.031 kB / 0.7626 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.003734, allocations: 17.89 kB / 0.7626 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.00388, allocations: 133.6 kB / 0.7628 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.003889, allocations: 5.594 kB / 0.7628 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.003902, allocations: 8.375 kB / 0.7628 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.004082, allocations: 108.1 kB / 0.7629 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.00409, allocations: 192 / 0.7629 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.0041, allocations: 5.125 kB / 0.7629 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.004107, allocations: 384 / 0.7629 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.685e-05/0.004164, allocations: 34.27 kB / 0.7629 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.00455, allocations: 315 kB / 0.7632 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.004686, allocations: 158.6 kB / 0.7634 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.743e-05/0.004723, allocations: 17.89 kB / 0.7634 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.004737, allocations: 4 kB / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.004768, allocations: 39.84 kB / 0.7634 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 9.91e-07/0.004769, allocations: 0 / 0.7634 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.000181/0.00495, allocations: 73.67 kB / 0.7635 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.004994, allocations: 85.05 kB / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.852e-05/0.005082, allocations: 153.1 kB / 0.7637 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.005094, allocations: 25.7 kB / 0.7638 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.005132, allocations: 96.05 kB / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.005158, allocations: 23.81 kB / 0.7639 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.005193, allocations: 24.94 kB / 0.7639 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003342/0.005527, allocations: 326.8 kB / 0.7642 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.292e-05/0.00555, allocations: 10.83 kB / 0.7642 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.788e-05/0.005578, allocations: 21.7 kB / 0.7642 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.448e-05/0.005632, allocations: 42.17 kB / 0.7643 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005634, allocations: 3.938 kB / 0.7643 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.033e-05/0.005714, allocations: 63.33 kB / 0.7643 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.005724, allocations: 4 kB / 0.7643 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.005729, allocations: 3.938 kB / 0.7643 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.00574, allocations: 3.031 kB / 0.7644 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.822e-05/0.005838, allocations: 27.92 kB / 0.7644 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.826e-06/0.005841, allocations: 4 kB / 0.7644 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.761e-05/0.005878, allocations: 15.88 kB / 0.7644 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.005885, allocations: 4 kB / 0.7644 GB, free: 1.977 MB / 0.7136 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.448e-05/0.00594, allocations: 112.7 kB / 0.7645 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.005971, allocations: 13.5 kB / 0.7645 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.005999, allocations: 24.27 kB / 0.7645 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.006001, allocations: 0 / 0.7645 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.006002, allocations: 0 / 0.7645 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.006005, allocations: 1.281 kB / 0.7645 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.006131, allocations: 97.84 kB / 0.7646 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.006132, allocations: 0 / 0.7646 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.629e-05/0.006188, allocations: 20.64 kB / 0.7647 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.006191, allocations: 4 kB / 0.7647 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.006197, allocations: 0.625 kB / 0.7647 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.006198, allocations: 4.594 kB / 0.7647 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.0062, allocations: 3.938 kB / 0.7647 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.006336, allocations: 326.5 kB / 0.765 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-06/0.006345, allocations: 7.953 kB / 0.765 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.006356, allocations: 0 / 0.765 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.006424, allocations: 18.39 kB / 0.765 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.006465, allocations: 12.25 kB / 0.765 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.006469, allocations: 4 kB / 0.765 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.609e-05/0.006496, allocations: 39.88 kB / 0.7651 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006496, allocations: 0 / 0.7651 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001508/0.006646, allocations: 23.89 kB / 0.7651 GB, free: 1.238 MB / 0.7136 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 7.076e-05/0.006717, allocations: 87.48 kB / 0.7652 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.837e-05/0.006806, allocations: 36.83 kB / 0.7652 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.006808, allocations: 0 / 0.7652 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.223e-05/0.00684, allocations: 28.78 kB / 0.7652 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.007032, allocations: 12 kB / 0.7652 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.007356, allocations: 233.8 kB / 0.7655 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.747e-05/0.007403, allocations: 71.86 kB / 0.7655 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.944e-05/0.007433, allocations: 5.406 kB / 0.7655 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.199e-05/0.007505, allocations: 67.31 kB / 0.7656 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of SimCode: time 7.51e-07/0.007506, allocations: 2.438 kB / 0.7656 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of Templates: time 0.002692/0.0102, allocations: 1.158 MB / 0.7667 GB, free: 15.54 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.1583499778062105]