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.001087/0.001087, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001035/0.001035, allocations: 177 kB / 23.36 MB, free: 1.129 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.015/1.015, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.389/2.389, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 2.194e-06/2.194e-06, allocations: 0 / 0.8385 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.674e-05, allocations: 2.312 kB / 0.8385 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.004666/0.004692, allocations: 0.7072 MB / 0.8392 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.005704, allocations: 0.8975 MB / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.005756, allocations: 4 kB / 0.8401 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.005786, allocations: 7.922 kB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.212e-05/0.005878, allocations: 19.8 kB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001771/0.006055, allocations: 19.92 kB / 0.8401 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.97e-05/0.006145, allocations: 63.78 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.058e-05/0.006235, allocations: 19.95 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.006403, allocations: 47.84 kB / 0.8403 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.564e-05/0.006458, allocations: 19.91 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.006474, allocations: 4 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.9e-05/0.006513, allocations: 12 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.343e-05/0.006527, allocations: 8 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.00655, allocations: 19.92 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.006659, allocations: 43.83 kB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.006661, allocations: 0 / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.102e-06/0.006662, allocations: 0 / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.006666, allocations: 0 / 0.8404 GB, free: 12.35 MB / 0.8073 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.0003176/0.006983, allocations: 264.7 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.007019, allocations: 12.62 kB / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003117/0.01014, allocations: 16.92 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.01027, allocations: 133.6 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.01029, allocations: 4.375 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.0103, allocations: 8.375 kB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.262e-05/0.01039, allocations: 54.94 kB / 0.8408 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.0104, allocations: 192 / 0.8408 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.01041, allocations: 4.375 kB / 0.8408 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.01041, allocations: 4.375 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.597e-05/0.01044, allocations: 11.92 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002353/0.01068, allocations: 168.2 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.01082, allocations: 58.52 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.335e-05/0.01083, allocations: 4.859 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.01084, allocations: 8 kB / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.01086, allocations: 34.56 kB / 0.8411 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.01086, allocations: 0 / 0.8411 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001208/0.01098, allocations: 49.66 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.01101, allocations: 51.41 kB / 0.8412 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.592e-05/0.01109, allocations: 127.1 kB / 0.8413 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.01111, allocations: 25.7 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.217e-05/0.01115, allocations: 88.14 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.646e-05/0.01117, allocations: 15.83 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.0112, allocations: 21.69 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.01134, allocations: 318.8 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.01135, allocations: 0 / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.237e-05/0.01138, allocations: 51.41 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.72e-05/0.01141, allocations: 8.859 kB / 0.8418 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01141, allocations: 4 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.119e-05/0.01147, allocations: 45.61 kB / 0.8419 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.01149, allocations: 8 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.01149, allocations: 3.938 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.0115, allocations: 0 / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.146e-05/0.01154, allocations: 12.03 kB / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.01155, allocations: 0 / 0.8419 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.205e-05/0.01158, allocations: 11.94 kB / 0.8419 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.01158, allocations: 0 / 0.8419 GB, free: 10.58 MB / 0.8073 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.057e-05/0.01164, allocations: 109.8 kB / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.01167, allocations: 8 kB / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/0.01169, allocations: 7.938 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.01169, allocations: 0 / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01169, allocations: 0 / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.0117, allocations: 3.984 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.01181, allocations: 77.89 kB / 0.8421 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01181, allocations: 7.938 kB / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.055e-05/0.01183, allocations: 3.984 kB / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01184, allocations: 4 kB / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.01184, allocations: 0 / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01184, allocations: 0 / 0.8421 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.01184, allocations: 3.938 kB / 0.8421 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.431e-05/0.01194, allocations: 131.9 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.473e-05/0.01195, allocations: 0 / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.01197, allocations: 7.984 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.054e-05/0.01202, allocations: 4 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.01206, allocations: 19.95 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.01207, allocations: 0 / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.461e-05/0.01209, allocations: 28.81 kB / 0.8423 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01209, allocations: 0 / 0.8423 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001863/0.01228, allocations: 8 kB / 0.8423 GB, free: 10.12 MB / 0.8073 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 9.487e-05/0.01237, allocations: 80.36 kB / 0.8424 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.176e-05/0.01244, allocations: 20.84 kB / 0.8424 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.01245, allocations: 0 / 0.8424 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.824e-05/0.01246, allocations: 16.86 kB / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.01264, allocations: 11.97 kB / 0.8425 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003417/0.01605, allocations: 164.2 kB / 0.8426 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.284e-05/0.01609, allocations: 55.36 kB / 0.8427 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.422e-05/0.01612, allocations: 7.984 kB / 0.8427 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.01617, allocations: 59.38 kB / 0.8427 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of SimCode: time 9.01e-07/0.01617, allocations: 0 / 0.8427 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of Templates: time 0.002483/0.01865, allocations: 0.7875 MB / 0.8435 GB, free: 8.879 MB / 0.8073 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.2118622227571905]