Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008297/0.008297, allocations: 100.1 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 189.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.45/2.45, allocations: 390.2 MB / 0.6648 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 61.97 kB / 0.9508 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.353, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002007/0.3551, allocations: 0.7005 MB / 1.089 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.3562, allocations: 0.851 MB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.463e-05/0.3563, allocations: 0 / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.3563, allocations: 11.92 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.716e-05/0.3565, allocations: 7.875 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.3566, allocations: 15.98 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.3568, allocations: 67.77 kB / 1.089 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.3569, allocations: 19.98 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.357, allocations: 27.86 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.904e-05/0.3571, allocations: 27.86 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.3571, allocations: 8 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.331e-05/0.3571, allocations: 7.938 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.488e-05/0.3572, allocations: 15.97 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.3572, allocations: 27.81 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.3573, allocations: 63.78 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3574, allocations: 4 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3574, allocations: 0 / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.3574, allocations: 0 / 1.09 GB, free: 15.63 MB / 0.8575 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.0006083/0.358, allocations: 367.3 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/0.358, allocations: 12.03 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.3581, allocations: 8.781 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.3584, allocations: 200.1 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.3585, allocations: 4.375 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.3585, allocations: 384 / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.3587, allocations: 62.22 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3587, allocations: 192 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.3587, allocations: 7.938 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3587, allocations: 4 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.3588, allocations: 23.98 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.3593, allocations: 296.8 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.3596, allocations: 74.61 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.525e-05/0.3597, allocations: 20.91 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.3597, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.3597, allocations: 38.5 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.3597, allocations: 0 / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002687/0.36, allocations: 77.56 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.3601, allocations: 51.41 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.971e-05/0.3602, allocations: 121.8 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.3602, allocations: 25.7 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.3603, allocations: 92.12 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.3603, allocations: 15.91 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.3603, allocations: 13.72 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3604, allocations: 326.8 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.25e-05/0.3605, allocations: 12 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.528e-05/0.3606, allocations: 29.7 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.098e-05/0.3607, allocations: 36.78 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3607, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001407/0.3608, allocations: 65.58 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3608, allocations: 8 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3609, allocations: 3.938 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3609, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.619e-05/0.3609, allocations: 7.984 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.361, allocations: 4.031 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.498e-05/0.361, allocations: 7.938 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.361, allocations: 4 kB / 1.092 GB, free: 13.41 MB / 0.8575 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.0001079/0.3611, allocations: 126.2 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.3612, allocations: 3.906 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.45e-05/0.3612, allocations: 11.91 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3612, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3612, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3612, allocations: 4 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.3614, allocations: 177.6 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3615, allocations: 4 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.3615, allocations: 4 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3615, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.3615, allocations: 4 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.3615, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3615, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.3617, allocations: 163.7 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.3618, allocations: 85.12 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.3618, allocations: 4 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.3619, allocations: 4 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.362, allocations: 11.92 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.362, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.458e-05/0.3621, allocations: 95.27 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3621, allocations: 0 / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000227/0.3623, allocations: 8 kB / 1.092 GB, free: 12.62 MB / 0.8575 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.0001079/0.3624, allocations: 99.25 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001834/0.3626, allocations: 35.97 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3626, allocations: 0 / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.108e-05/0.3627, allocations: 23.92 kB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.363, allocations: 9.5 kB / 1.092 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/0.3635, allocations: 175.4 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.3638, allocations: 0.6807 MB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.868e-05/0.3638, allocations: 7.984 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.3639, allocations: 7.438 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of SimCode: time 3.51e-07/0.3639, allocations: 4 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of Templates: time 0.003207/0.3671, allocations: 0.7063 MB / 1.094 GB, free: 10.83 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches