Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.0008658/0.0008658, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.001032/0.001032, allocations: 161 kB / 24.17 MB, free: 324 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 0.9918/0.9918, allocations: 177.1 MB / 204.6 MB, free: 5.066 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 2.041/2.041, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 177] 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.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.252e-05, allocations: 7.344 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001491/0.001514, allocations: 0.7535 MB / 0.7608 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.002527, allocations: 0.901 MB / 0.7616 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.002581, allocations: 0 / 0.7616 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.739e-05/0.002618, allocations: 11.86 kB / 0.7616 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.534e-05/0.002713, allocations: 14.22 kB / 0.7617 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.002934, allocations: 23.92 kB / 0.7617 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.345e-05/0.003027, allocations: 62.19 kB / 0.7617 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.689e-05/0.003114, allocations: 19.97 kB / 0.7618 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.003278, allocations: 49.09 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.4e-05/0.003332, allocations: 15.91 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.003347, allocations: 8 kB / 0.7618 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.058e-05/0.003398, allocations: 9.25 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.003413, allocations: 8 kB / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.079e-05/0.003434, allocations: 15.92 kB / 0.7619 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.003543, allocations: 44.48 kB / 0.7619 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.083e-06/0.003545, allocations: 4 kB / 0.7619 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003546, allocations: 0.5312 kB / 0.7619 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.003551, allocations: 0.625 kB / 0.7619 GB, free: 4.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000334/0.003885, allocations: 262 kB / 0.7622 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.00392, allocations: 8.031 kB / 0.7622 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.004042, allocations: 20.92 kB / 0.7622 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.004194, allocations: 134.8 kB / 0.7623 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.004212, allocations: 4.375 kB / 0.7623 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.004223, allocations: 8.375 kB / 0.7623 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.256e-05/0.004316, allocations: 55.69 kB / 0.7624 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.004323, allocations: 192 / 0.7624 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.465e-06/0.004331, allocations: 5.125 kB / 0.7624 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.004337, allocations: 384 / 0.7624 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.612e-05/0.004363, allocations: 12.69 kB / 0.7624 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002284/0.004591, allocations: 174.3 kB / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.004709, allocations: 46.53 kB / 0.7626 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.282e-05/0.004722, allocations: 8.859 kB / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.004735, allocations: 4 kB / 0.7626 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.004755, allocations: 36.38 kB / 0.7627 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.004756, allocations: 0 / 0.7627 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001131/0.004869, allocations: 49.66 kB / 0.7627 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.004897, allocations: 55.41 kB / 0.7628 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.365e-05/0.00496, allocations: 118.8 kB / 0.7629 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.00498, allocations: 40.88 kB / 0.7629 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.005014, allocations: 88.12 kB / 0.763 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.00503, allocations: 15.84 kB / 0.763 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.005057, allocations: 17.7 kB / 0.763 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.027e-05/0.005137, allocations: 314.8 kB / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.928e-06/0.005147, allocations: 4 kB / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-05/0.005182, allocations: 51.41 kB / 0.7634 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.414e-05/0.005206, allocations: 12.8 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.005207, allocations: 2.875 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.677e-05/0.005254, allocations: 45.67 kB / 0.7634 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.005264, allocations: 4 kB / 0.7634 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.005271, allocations: 7.922 kB / 0.7634 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.005281, allocations: 4 kB / 0.7634 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.227e-05/0.005313, allocations: 4 kB / 0.7635 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.005315, allocations: 0 / 0.7635 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.313e-05/0.005338, allocations: 9.484 kB / 0.7635 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.005342, allocations: 0 / 0.7635 GB, free: 2.98 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (shaT.hys.y,$PRE.shaT.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.158e-05/0.005393, allocations: 109.8 kB / 0.7636 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.005409, allocations: 7.938 kB / 0.7636 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.773e-05/0.005427, allocations: 13.73 kB / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.005428, allocations: 0 / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.00543, allocations: 0 / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.005435, allocations: 7.969 kB / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.929e-05/0.005514, allocations: 75.17 kB / 0.7637 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.005515, allocations: 0 / 0.7637 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.557e-05/0.00553, allocations: 11.98 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.92e-07/0.005531, allocations: 0.6562 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.005536, allocations: 4 kB / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.005537, allocations: 0.625 kB / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.005538, allocations: 4.594 kB / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.547e-05/0.005614, allocations: 131.5 kB / 0.7638 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.005623, allocations: 8.75 kB / 0.7638 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.005634, allocations: 0 / 0.7638 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.146e-05/0.005665, allocations: 6.75 kB / 0.7638 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.0057, allocations: 19.86 kB / 0.7638 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.005703, allocations: 3.938 kB / 0.7638 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.755e-05/0.00572, allocations: 20.83 kB / 0.7639 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00572, allocations: 0 / 0.7639 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001133/0.005834, allocations: 8 kB / 0.7639 GB, free: 2.516 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (shaT.hys.y) * Number of discrete states: 1 (shaT.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 6.224e-05/0.005896, allocations: 79.55 kB / 0.764 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.601e-05/0.005952, allocations: 20.84 kB / 0.764 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.005955, allocations: 4 kB / 0.764 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.408e-05/0.005969, allocations: 8.859 kB / 0.764 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001203/0.006089, allocations: 16.52 kB / 0.764 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.006469, allocations: 169.2 kB / 0.7642 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.089e-05/0.0065, allocations: 59.84 kB / 0.7642 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.179e-05/0.006532, allocations: 6.125 kB / 0.7642 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.006578, allocations: 63.36 kB / 0.7643 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of SimCode: time 4.81e-07/0.006579, allocations: 1.031 kB / 0.7643 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of Templates: time 0.002037/0.008615, allocations: 0.7738 MB / 0.765 GB, free: 1.301 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.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.1077107191085815]