Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002086/0.002086, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.764/2.764, allocations: 443.5 MB / 0.7304 GB, free: 13.85 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.Shade.Validation.Shade_T") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 67.89 kB / 1.059 GB, free: 396 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3471, allocations: 160.7 MB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002134/0.3493, allocations: 0.7155 MB / 1.217 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.3504, allocations: 0.8623 MB / 1.218 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.384e-05/0.3505, allocations: 0 / 1.218 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.379e-05/0.3505, allocations: 3.938 kB / 1.218 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.3506, allocations: 11.88 kB / 1.218 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.3508, allocations: 15.98 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.3509, allocations: 63.83 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.351, allocations: 19.98 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.3511, allocations: 27.8 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.712e-05/0.3512, allocations: 23.92 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.3512, allocations: 4 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.196e-05/0.3512, allocations: 4 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.3513, allocations: 23.91 kB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.3513, allocations: 19.88 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.3515, allocations: 67.72 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.3515, allocations: 0 / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3515, allocations: 4 kB / 1.218 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3515, allocations: 0 / 1.218 GB, free: 13.47 MB / 0.9669 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.0005793/0.3521, allocations: 375.2 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3521, allocations: 11.97 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.3521, allocations: 8.891 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.3524, allocations: 196.2 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.3524, allocations: 384 / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.3524, allocations: 4.375 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.3526, allocations: 58.23 kB / 1.219 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3526, allocations: 192 / 1.219 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.3526, allocations: 7.938 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3526, allocations: 4 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.3527, allocations: 31.91 kB / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.3532, allocations: 288.8 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.3535, allocations: 74.52 kB / 1.219 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.081e-05/0.3535, allocations: 12.92 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.3536, allocations: 4 kB / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.3536, allocations: 34.5 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3536, allocations: 0 / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002609/0.3539, allocations: 77.7 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.3539, allocations: 51.41 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.354, allocations: 129.7 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.3541, allocations: 25.7 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.147e-05/0.3541, allocations: 96.08 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.3541, allocations: 12.02 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.3542, allocations: 13.72 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3543, allocations: 330.8 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.518e-05/0.3544, allocations: 15.94 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.468e-05/0.3545, allocations: 29.64 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.972e-05/0.3545, allocations: 37.11 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3545, allocations: 0 / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001416/0.3547, allocations: 65.62 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3547, allocations: 12.03 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3547, allocations: 0 / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3547, allocations: 0 / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.3548, allocations: 7.984 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3548, allocations: 0 / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.793e-05/0.3549, allocations: 7.938 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.3549, allocations: 7.938 kB / 1.22 GB, free: 11.25 MB / 0.9669 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.0001016/0.355, allocations: 121.8 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.355, allocations: 4 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.355, allocations: 11.91 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.355, allocations: 0 / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-06/0.355, allocations: 0 / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.355, allocations: 0 / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.3553, allocations: 177.6 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3553, allocations: 0 / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.495e-05/0.3553, allocations: 8 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3553, allocations: 0 / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.3553, allocations: 0 / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.3553, allocations: 0 / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3553, allocations: 7.984 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.3555, allocations: 159.4 kB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.3556, allocations: 93.05 kB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.3556, allocations: 3.938 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.508e-05/0.3557, allocations: 8 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.3558, allocations: 7.984 kB / 1.22 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.3558, allocations: 0 / 1.22 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.442e-05/0.3558, allocations: 99.27 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.3558, allocations: 0 / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002167/0.356, allocations: 8 kB / 1.221 GB, free: 10.45 MB / 0.9669 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.0001268/0.3562, allocations: 99.23 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001805/0.3563, allocations: 31.98 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3563, allocations: 0 / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.245e-05/0.3564, allocations: 27.92 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.3567, allocations: 7.938 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.3571, allocations: 168.5 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.3575, allocations: 0.6884 MB / 1.222 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.124e-05/0.3576, allocations: 12.27 kB / 1.222 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.3576, allocations: 7.438 kB / 1.222 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of SimCode: time 8.72e-07/0.3576, allocations: 0 / 1.222 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of Templates: time 0.003184/0.3608, allocations: 0.7198 MB / 1.222 GB, free: 8.645 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.776033711619675]