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.001743/0.001743, allocations: 110 kB / 18.93 MB, free: 2.945 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.002264/0.002264, allocations: 188.1 kB / 22.23 MB, free: 5.16 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.647/1.647, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.752/2.752, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002014/0.002014, allocations: 67.89 kB / 1.061 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.035, allocations: 160.8 MB / 1.218 GB, free: 3.695 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002504/1.038, allocations: 0.7107 MB / 1.219 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001321/1.039, allocations: 0.8512 MB / 1.22 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.855e-05/1.039, allocations: 1.125 kB / 1.22 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.393e-05/1.039, allocations: 3.938 kB / 1.22 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/1.039, allocations: 17.02 kB / 1.22 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/1.04, allocations: 19.61 kB / 1.22 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001532/1.04, allocations: 62.5 kB / 1.22 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/1.04, allocations: 13.8 kB / 1.22 GB, free: 2.383 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/1.04, allocations: 30.02 kB / 1.22 GB, free: 2.363 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/1.04, allocations: 26.86 kB / 1.22 GB, free: 2.344 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/1.04, allocations: 5.562 kB / 1.22 GB, free: 2.344 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.972e-05/1.04, allocations: 10.09 kB / 1.22 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.413e-05/1.04, allocations: 17.28 kB / 1.22 GB, free: 2.324 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.494e-05/1.04, allocations: 25.06 kB / 1.22 GB, free: 2.305 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/1.04, allocations: 64.98 kB / 1.22 GB, free: 2.262 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.041, allocations: 0 / 1.22 GB, free: 2.262 MB / 0.92 GB Notification: Performance of FrontEnd: time 7.614e-06/1.041, allocations: 3.984 kB / 1.22 GB, free: 2.258 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.095e-06/1.041, allocations: 0 / 1.22 GB, free: 2.258 MB / 0.92 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.0006832/1.041, allocations: 365.8 kB / 1.221 GB, free: 1.871 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/1.041, allocations: 9.906 kB / 1.221 GB, free: 1.871 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/1.041, allocations: 12.17 kB / 1.221 GB, free: 1.863 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/1.042, allocations: 206.8 kB / 1.221 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/1.042, allocations: 2.531 kB / 1.221 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/1.042, allocations: 2.469 kB / 1.221 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/1.042, allocations: 60.7 kB / 1.221 GB, free: 1.582 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/1.042, allocations: 192 / 1.221 GB, free: 1.582 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/1.042, allocations: 3.938 kB / 1.221 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/1.042, allocations: 0.9688 kB / 1.221 GB, free: 1.578 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/1.042, allocations: 36.91 kB / 1.221 GB, free: 1.559 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/1.043, allocations: 297.3 kB / 1.221 GB, free: 1.242 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/1.043, allocations: 65.22 kB / 1.221 GB, free: 1.199 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.048e-05/1.043, allocations: 24.12 kB / 1.221 GB, free: 1.18 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/1.043, allocations: 1.375 kB / 1.221 GB, free: 1.18 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/1.043, allocations: 34.64 kB / 1.221 GB, free: 1.137 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/1.043, allocations: 0 / 1.221 GB, free: 1.137 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002718/1.043, allocations: 78.66 kB / 1.221 GB, free: 1.078 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/1.043, allocations: 52.56 kB / 1.221 GB, free: 1.016 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/1.043, allocations: 120.9 kB / 1.222 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/1.043, allocations: 30.83 kB / 1.222 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/1.043, allocations: 95.61 kB / 1.222 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/1.044, allocations: 13.11 kB / 1.222 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/1.044, allocations: 13.88 kB / 1.222 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001891/1.044, allocations: 328.2 kB / 1.222 GB, free: 428 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.744e-05/1.044, allocations: 15.98 kB / 1.222 GB, free: 420 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.391e-05/1.044, allocations: 31.66 kB / 1.222 GB, free: 392 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.494e-05/1.044, allocations: 29.89 kB / 1.222 GB, free: 372 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.044, allocations: 5.125 kB / 1.222 GB, free: 368 kB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001398/1.044, allocations: 62.67 kB / 1.222 GB, free: 320 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/1.044, allocations: 8.906 kB / 1.222 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.044, allocations: 0 / 1.222 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/1.044, allocations: 3.938 kB / 1.222 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.993e-05/1.044, allocations: 9.391 kB / 1.222 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/1.044, allocations: 0 / 1.222 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.733e-05/1.044, allocations: 13.14 kB / 1.222 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/1.044, allocations: 1.25 kB / 1.222 GB, free: 304 kB / 0.92 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.0001258/1.044, allocations: 125.1 kB / 1.222 GB, free: 172 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/1.044, allocations: 2.625 kB / 1.222 GB, free: 172 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/1.044, allocations: 9.438 kB / 1.222 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/1.044, allocations: 1.156 kB / 1.222 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.044, allocations: 0 / 1.222 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/1.044, allocations: 1.344 kB / 1.222 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/1.045, allocations: 183.6 kB / 1.222 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.045, allocations: 0 / 1.222 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.802e-05/1.045, allocations: 12.47 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/1.045, allocations: 0 / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/1.045, allocations: 5.078 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/1.045, allocations: 0 / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.045, allocations: 1.125 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/1.045, allocations: 158.6 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.016e-05/1.045, allocations: 86.53 kB / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/1.045, allocations: 1.031 kB / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.27e-05/1.045, allocations: 4.062 kB / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/1.045, allocations: 11.12 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/1.045, allocations: 0.9688 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001021/1.045, allocations: 96.86 kB / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.045, allocations: 1.125 kB / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002346/1.046, allocations: 6.812 kB / 1.223 GB, free: 15.58 MB / 0.9356 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.0001922/1.046, allocations: 101.6 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002519/1.046, allocations: 35.22 kB / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/1.046, allocations: 0 / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.007e-05/1.046, allocations: 17.7 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/1.047, allocations: 15.16 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/1.047, allocations: 179.6 kB / 1.223 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/1.047, allocations: 0.6907 MB / 1.224 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.14e-05/1.048, allocations: 2.281 kB / 1.224 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/1.048, allocations: 10.5 kB / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/1.048, allocations: 0 / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of Templates: time 0.004275/1.052, allocations: 0.7201 MB / 1.225 GB, free: 14.21 MB / 0.9356 GB " [Timeout remaining time 299] 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: 9.41731005627662]