Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00141/0.00141, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001631/0.001631, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.011/1.011, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.173/2.173, allocations: 429.5 MB / 0.6736 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.126e-06/3.126e-06, allocations: 0 / 0.8781 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.807e-05/3.12e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001499/0.001531, allocations: 0.7036 MB / 0.8788 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.002577, allocations: 0.9003 MB / 0.8797 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.032e-05/0.002637, allocations: 0 / 0.8797 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.002673, allocations: 8.938 kB / 0.8797 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.002801, allocations: 8.141 kB / 0.8797 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.003071, allocations: 37.12 kB / 0.8798 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.003308, allocations: 55.84 kB / 0.8798 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.003458, allocations: 12 kB / 0.8798 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.003688, allocations: 44.98 kB / 0.8799 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.172e-05/0.00378, allocations: 23.91 kB / 0.8799 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.003806, allocations: 4 kB / 0.8799 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.665e-05/0.003872, allocations: 8.656 kB / 0.8799 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.003894, allocations: 21.11 kB / 0.8799 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.003929, allocations: 11.98 kB / 0.8799 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.004105, allocations: 51.77 kB / 0.88 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.004108, allocations: 0 / 0.88 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.32e-07/0.004109, allocations: 0.5312 kB / 0.88 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.004116, allocations: 0.875 kB / 0.88 GB, free: 4.809 MB / 0.8386 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.000525/0.004641, allocations: 400.3 kB / 0.8804 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.004688, allocations: 11.47 kB / 0.8804 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.004845, allocations: 8.938 kB / 0.8804 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.005017, allocations: 136.5 kB / 0.8805 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.005039, allocations: 8.375 kB / 0.8805 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.005047, allocations: 384 / 0.8805 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.005157, allocations: 66.88 kB / 0.8806 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.005163, allocations: 192 / 0.8806 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.005173, allocations: 384 / 0.8806 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.00518, allocations: 0.9688 kB / 0.8806 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.732e-05/0.005218, allocations: 11.94 kB / 0.8806 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003301/0.005548, allocations: 297.2 kB / 0.8809 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.005714, allocations: 63.03 kB / 0.8809 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.271e-05/0.005736, allocations: 11.69 kB / 0.881 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.00575, allocations: 4 kB / 0.881 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.005772, allocations: 41.33 kB / 0.881 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.005774, allocations: 0 / 0.881 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001691/0.005943, allocations: 53.67 kB / 0.881 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.005975, allocations: 55.41 kB / 0.8811 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.841e-05/0.006063, allocations: 181.8 kB / 0.8813 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.006077, allocations: 25.7 kB / 0.8813 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.006137, allocations: 138.9 kB / 0.8814 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.006155, allocations: 15.84 kB / 0.8814 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.006188, allocations: 27.38 kB / 0.8815 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.006306, allocations: 0.4884 MB / 0.8819 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/0.006324, allocations: 4 kB / 0.882 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.112e-05/0.006365, allocations: 45.08 kB / 0.882 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.658e-05/0.006402, allocations: 27.94 kB / 0.882 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.006404, allocations: 0 / 0.882 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.714e-05/0.006471, allocations: 57.56 kB / 0.8821 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.006483, allocations: 4 kB / 0.8821 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.006488, allocations: 0 / 0.8821 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.0065, allocations: 0 / 0.8821 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.791e-05/0.006538, allocations: 8.031 kB / 0.8821 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.006544, allocations: 0 / 0.8821 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.813e-05/0.006572, allocations: 11.94 kB / 0.8821 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.006579, allocations: 4 kB / 0.8821 GB, free: 2.414 MB / 0.8386 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 6.88e-05/0.006647, allocations: 156.6 kB / 0.8823 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.006663, allocations: 7.938 kB / 0.8823 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.111e-05/0.006684, allocations: 8 kB / 0.8823 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.006687, allocations: 4 kB / 0.8823 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.006691, allocations: 0 / 0.8823 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.006694, allocations: 0 / 0.8823 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.0068, allocations: 132.5 kB / 0.8824 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.006801, allocations: 0 / 0.8824 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.479e-05/0.006815, allocations: 4 kB / 0.8824 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.006816, allocations: 0 / 0.8824 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.006824, allocations: 7.875 kB / 0.8824 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-07/0.006825, allocations: 0 / 0.8824 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.006828, allocations: 7.969 kB / 0.8824 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.548e-05/0.006924, allocations: 195.9 kB / 0.8826 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-06/0.006932, allocations: 3.953 kB / 0.8826 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.00695, allocations: 11.94 kB / 0.8826 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.457e-05/0.006984, allocations: 4 kB / 0.8826 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.007029, allocations: 7.984 kB / 0.8826 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.007032, allocations: 3.984 kB / 0.8826 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.93e-05/0.007081, allocations: 139.2 kB / 0.8828 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.007082, allocations: 0 / 0.8828 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001447/0.007226, allocations: 4 kB / 0.8828 GB, free: 1.664 MB / 0.8386 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 8.727e-05/0.007313, allocations: 98.5 kB / 0.8829 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.00743, allocations: 31.61 kB / 0.8829 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.007432, allocations: 0 / 0.8829 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.168e-05/0.007453, allocations: 15.69 kB / 0.8829 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.007652, allocations: 12 kB / 0.8829 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005264/0.008178, allocations: 162 kB / 0.8831 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.451e-05/0.008223, allocations: 61.53 kB / 0.8831 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.344e-05/0.008256, allocations: 8.266 kB / 0.8831 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.008292, allocations: 12.5 kB / 0.8832 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of SimCode: time 9.52e-07/0.008293, allocations: 0 / 0.8832 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of Templates: time 0.002307/0.0106, allocations: 0.7558 MB / 0.8839 GB, free: 476 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.4514179460238665]