Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002476/0.002476, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002567/0.002567, allocations: 158.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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.539/1.539, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 3.103/3.103, allocations: 389 MB / 0.633 GB, free: 0.9727 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.146e-06/3.146e-06, allocations: 0 / 1 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.546e-05, allocations: 2.281 kB / 1 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002286/0.002321, allocations: 0.6967 MB / 1.001 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.003897, allocations: 0.8821 MB / 1.002 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.267e-05/0.00398, allocations: 0 / 1.002 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.69e-05/0.004016, allocations: 3.938 kB / 1.002 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.004132, allocations: 7.875 kB / 1.002 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.00438, allocations: 23.97 kB / 1.002 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.004523, allocations: 67.72 kB / 1.002 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.004661, allocations: 15.92 kB / 1.002 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.004891, allocations: 43.89 kB / 1.002 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.891e-05/0.00498, allocations: 19.92 kB / 1.002 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.005005, allocations: 4 kB / 1.002 GB, free: 5.559 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 5.518e-05/0.00506, allocations: 16 kB / 1.002 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.005085, allocations: 11.98 kB / 1.002 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.701e-05/0.005122, allocations: 15.92 kB / 1.002 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.005312, allocations: 75.75 kB / 1.002 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.005314, allocations: 4 kB / 1.002 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.11e-07/0.005315, allocations: 0 / 1.002 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.005321, allocations: 0 / 1.002 GB, free: 5.438 MB / 0.9512 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.0005794/0.005901, allocations: 290.1 kB / 1.002 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.005943, allocations: 12.03 kB / 1.002 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.006108, allocations: 24.88 kB / 1.002 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.006371, allocations: 137.6 kB / 1.002 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.006386, allocations: 384 / 1.002 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.006414, allocations: 4.375 kB / 1.002 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.006589, allocations: 58.23 kB / 1.002 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.006598, allocations: 192 / 1.002 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.006612, allocations: 4.375 kB / 1.002 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.006617, allocations: 384 / 1.002 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.006729, allocations: 27.92 kB / 1.002 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.007176, allocations: 244.4 kB / 1.003 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.007478, allocations: 66.53 kB / 1.003 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.811e-05/0.007537, allocations: 21 kB / 1.003 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.007556, allocations: 0 / 1.003 GB, free: 4.461 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.007596, allocations: 38.44 kB / 1.003 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.007597, allocations: 0 / 1.003 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002804/0.007877, allocations: 73.8 kB / 1.003 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.007922, allocations: 55.41 kB / 1.003 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.008048, allocations: 129.7 kB / 1.003 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.008073, allocations: 33.7 kB / 1.003 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.541e-05/0.008139, allocations: 88.14 kB / 1.003 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.008161, allocations: 7.938 kB / 1.003 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.008214, allocations: 17.72 kB / 1.003 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.00838, allocations: 314.8 kB / 1.004 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.185e-05/0.008442, allocations: 15.98 kB / 1.004 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.368e-05/0.008536, allocations: 59.39 kB / 1.004 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.008637, allocations: 40.81 kB / 1.004 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.008641, allocations: 4 kB / 1.004 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001744/0.008815, allocations: 69.56 kB / 1.004 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.008832, allocations: 4 kB / 1.004 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.008838, allocations: 0 / 1.004 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.008852, allocations: 4 kB / 1.004 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.428e-05/0.008907, allocations: 4 kB / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.008911, allocations: 0 / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.601e-05/0.008977, allocations: 15.92 kB / 1.004 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.008987, allocations: 4 kB / 1.004 GB, free: 3.418 MB / 0.9512 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 0.0001043/0.009091, allocations: 113.8 kB / 1.004 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.009121, allocations: 11.83 kB / 1.004 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.009169, allocations: 15.98 kB / 1.004 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.009172, allocations: 0 / 1.004 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.009176, allocations: 0 / 1.004 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.009179, allocations: 0 / 1.004 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.009347, allocations: 113.3 kB / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.009348, allocations: 0 / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.506e-05/0.009393, allocations: 11.98 kB / 1.004 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.009399, allocations: 4 kB / 1.004 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.009409, allocations: 3.938 kB / 1.004 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.00941, allocations: 0 / 1.004 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.009411, allocations: 0 / 1.004 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.009643, allocations: 151.5 kB / 1.004 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.009661, allocations: 11.94 kB / 1.004 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.009681, allocations: 3.938 kB / 1.004 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.09e-05/0.009762, allocations: 7.984 kB / 1.004 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.00982, allocations: 7.984 kB / 1.004 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.009825, allocations: 7.938 kB / 1.004 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.676e-05/0.009902, allocations: 95.27 kB / 1.004 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.009902, allocations: 3.938 kB / 1.004 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002403/0.01014, allocations: 8 kB / 1.004 GB, free: 2.797 MB / 0.9512 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 0.0001397/0.01028, allocations: 99.23 kB / 1.004 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001714/0.01045, allocations: 31.97 kB / 1.004 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.01046, allocations: 4 kB / 1.004 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.249e-05/0.01052, allocations: 16 kB / 1.004 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.01084, allocations: 11.98 kB / 1.004 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003919/0.01123, allocations: 152.6 kB / 1.005 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.059e-05/0.01131, allocations: 71.7 kB / 1.005 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.032e-05/0.01135, allocations: 3.984 kB / 1.005 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.01139, allocations: 20.48 kB / 1.005 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of SimCode: time 7.31e-07/0.01139, allocations: 0 / 1.005 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of Templates: time 0.003988/0.01538, allocations: 0.735 MB / 1.005 GB, free: 1.617 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.644738547503948]