Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.0009031/0.0009031, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009467/0.0009467, allocations: 159 kB / 24.86 MB, free: 8.312 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.9626/0.9626, allocations: 177.1 MB / 205.3 MB, free: 4.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.921/1.921, allocations: 377.9 MB / 0.6247 GB, free: 8.945 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0.9844 kB / 0.8127 GB, free: 42.58 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.194e-05/1.356e-05, allocations: 2.969 kB / 0.8127 GB, free: 42.57 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001232/0.001246, allocations: 0.7045 MB / 0.8134 GB, free: 42.18 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007603/0.002006, allocations: 0.9026 MB / 0.8143 GB, free: 41.52 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.574e-05/0.002052, allocations: 4.125 kB / 0.8143 GB, free: 41.52 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.503e-05/0.002077, allocations: 3.938 kB / 0.8143 GB, free: 41.52 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.458e-05/0.002161, allocations: 17.3 kB / 0.8143 GB, free: 41.51 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.002326, allocations: 20.52 kB / 0.8143 GB, free: 41.5 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.54e-05/0.002401, allocations: 60.12 kB / 0.8144 GB, free: 41.48 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.158e-05/0.002483, allocations: 18.73 kB / 0.8144 GB, free: 41.47 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.002615, allocations: 54.8 kB / 0.8145 GB, free: 41.45 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.352e-05/0.002658, allocations: 17.55 kB / 0.8145 GB, free: 41.44 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.002672, allocations: 2.469 kB / 0.8145 GB, free: 41.44 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 3.355e-05/0.002705, allocations: 16.78 kB / 0.8145 GB, free: 41.43 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.002717, allocations: 7.281 kB / 0.8145 GB, free: 41.43 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.766e-05/0.002735, allocations: 15.16 kB / 0.8145 GB, free: 41.42 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.434e-05/0.002819, allocations: 47.8 kB / 0.8146 GB, free: 41.4 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.002821, allocations: 0 / 0.8146 GB, free: 41.4 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.11e-07/0.002821, allocations: 0 / 0.8146 GB, free: 41.4 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.002825, allocations: 1.406 kB / 0.8146 GB, free: 41.4 MB / 0.7605 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.0002542/0.003079, allocations: 392.2 kB / 0.8149 GB, free: 41.01 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.911e-05/0.003109, allocations: 8.594 kB / 0.8149 GB, free: 41.01 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.406e-05/0.003203, allocations: 19.61 kB / 0.815 GB, free: 41 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.366e-05/0.003296, allocations: 138.7 kB / 0.8151 GB, free: 40.86 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.003311, allocations: 3 kB / 0.8151 GB, free: 40.86 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.003319, allocations: 3.375 kB / 0.8151 GB, free: 40.86 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.3e-05/0.003392, allocations: 60.44 kB / 0.8152 GB, free: 40.8 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.003397, allocations: 192 / 0.8152 GB, free: 40.8 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.003404, allocations: 384 / 0.8152 GB, free: 40.8 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.003409, allocations: 3.156 kB / 0.8152 GB, free: 40.8 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.271e-05/0.003432, allocations: 10.27 kB / 0.8152 GB, free: 40.8 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000196/0.003628, allocations: 271.1 kB / 0.8154 GB, free: 40.54 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.003737, allocations: 62.88 kB / 0.8155 GB, free: 40.5 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.156e-05/0.003749, allocations: 8.531 kB / 0.8155 GB, free: 40.49 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.003758, allocations: 3.328 kB / 0.8155 GB, free: 40.49 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.176e-05/0.00377, allocations: 40.09 kB / 0.8155 GB, free: 40.45 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.003771, allocations: 1.062 kB / 0.8155 GB, free: 40.45 MB / 0.7605 GB Notification: Performance of matching and sorting (n=3): time 0.0001075/0.003879, allocations: 53.58 kB / 0.8156 GB, free: 40.4 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.648e-05/0.003895, allocations: 51.41 kB / 0.8156 GB, free: 40.34 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.633e-05/0.003941, allocations: 180.5 kB / 0.8158 GB, free: 40.17 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.00395, allocations: 26.33 kB / 0.8158 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 2.998e-05/0.00398, allocations: 141.8 kB / 0.816 GB, free: 40 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.003994, allocations: 11.42 kB / 0.816 GB, free: 39.99 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.004018, allocations: 22.22 kB / 0.816 GB, free: 39.96 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 4.164e-05/0.004059, allocations: 0.4946 MB / 0.8165 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.939e-06/0.004069, allocations: 3.562 kB / 0.8165 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.218e-05/0.004091, allocations: 51.78 kB / 0.8165 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.091e-05/0.004112, allocations: 17.19 kB / 0.8166 GB, free: 39.39 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.004113, allocations: 0 / 0.8166 GB, free: 39.39 MB / 0.7605 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.829e-05/0.004162, allocations: 50.95 kB / 0.8166 GB, free: 39.36 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.004172, allocations: 7.469 kB / 0.8166 GB, free: 39.35 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.004176, allocations: 2.875 kB / 0.8166 GB, free: 39.35 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-06/0.004183, allocations: 0.8438 kB / 0.8166 GB, free: 39.35 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.692e-05/0.00421, allocations: 6.078 kB / 0.8166 GB, free: 39.35 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.004212, allocations: 0.6875 kB / 0.8166 GB, free: 39.35 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.241e-05/0.004235, allocations: 5.625 kB / 0.8166 GB, free: 39.35 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-06/0.004238, allocations: 0.625 kB / 0.8166 GB, free: 39.35 MB / 0.7605 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 (shaH.hys.y,$PRE.shaH.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 3.986e-05/0.004278, allocations: 164.5 kB / 0.8168 GB, free: 39.19 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.004296, allocations: 11.05 kB / 0.8168 GB, free: 39.18 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.898e-05/0.004315, allocations: 14.72 kB / 0.8168 GB, free: 39.17 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.004316, allocations: 0 / 0.8168 GB, free: 39.17 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.004318, allocations: 4.438 kB / 0.8168 GB, free: 39.16 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.00432, allocations: 0.5 kB / 0.8168 GB, free: 39.16 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.193e-05/0.004392, allocations: 105.9 kB / 0.8169 GB, free: 39.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.004393, allocations: 0 / 0.8169 GB, free: 39.05 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.348e-05/0.004406, allocations: 5.734 kB / 0.8169 GB, free: 39.05 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-07/0.004407, allocations: 3.75 kB / 0.8169 GB, free: 39.05 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-06/0.004412, allocations: 0 / 0.8169 GB, free: 39.05 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.004412, allocations: 0.9375 kB / 0.8169 GB, free: 39.05 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.004414, allocations: 3.938 kB / 0.8169 GB, free: 39.04 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.908e-05/0.004473, allocations: 194.3 kB / 0.8171 GB, free: 38.86 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.856e-06/0.004482, allocations: 11.33 kB / 0.8171 GB, free: 38.85 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.004492, allocations: 0 / 0.8171 GB, free: 38.85 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.313e-05/0.004526, allocations: 2.844 kB / 0.8171 GB, free: 38.85 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.00456, allocations: 18.97 kB / 0.8172 GB, free: 38.84 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.004562, allocations: 2.656 kB / 0.8172 GB, free: 38.84 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 2.259e-05/0.004584, allocations: 139.4 kB / 0.8173 GB, free: 38.71 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.004584, allocations: 3.938 kB / 0.8173 GB, free: 38.71 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000143/0.004727, allocations: 7.812 kB / 0.8173 GB, free: 38.71 MB / 0.7605 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 (shaH.hys.y) * Number of discrete states: 1 (shaH.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.114e-05/0.004789, allocations: 96.5 kB / 0.8174 GB, free: 38.62 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 7.215e-05/0.004861, allocations: 24.28 kB / 0.8174 GB, free: 38.61 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.32e-07/0.004862, allocations: 0 / 0.8174 GB, free: 38.61 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.837e-05/0.00488, allocations: 15.38 kB / 0.8174 GB, free: 38.6 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.005047, allocations: 7.594 kB / 0.8174 GB, free: 38.6 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003975/0.005444, allocations: 170.5 kB / 0.8176 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.668e-05/0.005471, allocations: 55.64 kB / 0.8177 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.088e-05/0.005502, allocations: 12.02 kB / 0.8177 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.005549, allocations: 75.7 kB / 0.8177 GB, free: 38.31 MB / 0.7605 GB Notification: Performance of SimCode: time 4.21e-07/0.00555, allocations: 0 / 0.8177 GB, free: 38.31 MB / 0.7605 GB Notification: Performance of Templates: time 0.002298/0.007848, allocations: 0.8247 MB / 0.8185 GB, free: 38.25 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.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.201756959315389]