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.001053/0.001053, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001227/0.001227, allocations: 173 kB / 23.36 MB, free: 1.133 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.03/1.03, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.526/2.526, allocations: 438.8 MB / 0.6826 GB, free: 13.59 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_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 1.593e-06/1.593e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092e-05/1.251e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001332/0.001345, allocations: 0.7578 MB / 0.8393 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008779/0.002223, allocations: 0.8897 MB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.499e-05/0.002268, allocations: 4 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.903e-05/0.002297, allocations: 7.922 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.923e-05/0.002386, allocations: 15.86 kB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.002556, allocations: 27.8 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.176e-05/0.002638, allocations: 63.78 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.014e-05/0.002728, allocations: 23.95 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.002884, allocations: 39.91 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.377e-05/0.002938, allocations: 15.97 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.002954, allocations: 4 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.889e-05/0.003003, allocations: 12 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.003019, allocations: 15.94 kB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.003041, allocations: 15.92 kB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.003142, allocations: 43.83 kB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003143, allocations: 0 / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003144, allocations: 4 kB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.003147, allocations: 0 / 0.8405 GB, free: 12.27 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.000295/0.003442, allocations: 264.7 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.003474, allocations: 12.56 kB / 0.8407 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.003576, allocations: 16.92 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.003712, allocations: 133.7 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.003728, allocations: 4.375 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.003735, allocations: 4.375 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.198e-05/0.003827, allocations: 62.88 kB / 0.8409 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.003835, allocations: 192 / 0.8409 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.003843, allocations: 384 / 0.8409 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.003849, allocations: 384 / 0.8409 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.546e-05/0.003874, allocations: 15.92 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000211/0.004085, allocations: 172.2 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.004195, allocations: 50.48 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.274e-05/0.004208, allocations: 8.859 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.004218, allocations: 0 / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.00424, allocations: 38.56 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.004241, allocations: 0 / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001014/0.004343, allocations: 49.7 kB / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.004368, allocations: 55.41 kB / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.883e-05/0.004437, allocations: 126.7 kB / 0.8414 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.004452, allocations: 25.7 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.004487, allocations: 88.14 kB / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.004505, allocations: 19.88 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.004531, allocations: 17.7 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.477e-05/0.004606, allocations: 314.8 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.057e-05/0.004617, allocations: 8 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.177e-05/0.004648, allocations: 43.41 kB / 0.8419 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.577e-05/0.004674, allocations: 16.84 kB / 0.8419 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004676, allocations: 0 / 0.8419 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.797e-05/0.004724, allocations: 45.62 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.004735, allocations: 7.938 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.004741, allocations: 3.938 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.004757, allocations: 4.031 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.596e-05/0.004793, allocations: 12 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.004795, allocations: 0 / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.481e-05/0.00482, allocations: 11.94 kB / 0.842 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.004824, allocations: 0 / 0.842 GB, free: 10.49 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 (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.199e-05/0.004875, allocations: 109.8 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.004891, allocations: 0 / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.004912, allocations: 19.92 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.004914, allocations: 0 / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.004915, allocations: 0 / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.004919, allocations: 4 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.101e-05/0.005, allocations: 73.88 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.005, allocations: 0 / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.486e-05/0.005015, allocations: 4 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-07/0.005016, allocations: 0 / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.00502, allocations: 0 / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.00502, allocations: 4 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.005023, allocations: 7.922 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.518e-05/0.005089, allocations: 139.5 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-06/0.005096, allocations: 3.984 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.005107, allocations: 4 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.415e-05/0.005141, allocations: 4 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.005181, allocations: 11.92 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.005183, allocations: 0 / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.97e-05/0.005203, allocations: 25.27 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005203, allocations: 0 / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001186/0.005322, allocations: 8 kB / 0.8424 GB, free: 10.04 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 (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 8.023e-05/0.005402, allocations: 72.42 kB / 0.8425 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.648e-05/0.005478, allocations: 25.16 kB / 0.8425 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.005481, allocations: 4 kB / 0.8425 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.983e-05/0.005501, allocations: 16.94 kB / 0.8425 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.005642, allocations: 15.92 kB / 0.8426 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004497/0.006091, allocations: 168.5 kB / 0.8427 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.32e-05/0.006125, allocations: 59.34 kB / 0.8428 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.885e-05/0.006153, allocations: 8 kB / 0.8428 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.745e-05/0.006201, allocations: 55.36 kB / 0.8428 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of SimCode: time 7.01e-07/0.006202, allocations: 0 / 0.8428 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of Templates: time 0.002142/0.008343, allocations: 0.7913 MB / 0.8436 GB, free: 8.785 MB / 0.8073 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 240] 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","",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.332494737114757]