Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaH.H|shaH.HHigh|shaH.HLow|shaH.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 197.5 kB / 16.63 MB, free: 6.613 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.462/1.462, allocations: 222.9 MB / 240.3 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.515/2.515, allocations: 390.3 MB / 0.6648 GB, free: 112 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 66.77 kB / 0.9508 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3645, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.00243/0.367, allocations: 0.6967 MB / 1.089 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.3685, allocations: 0.8471 MB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.828e-05/0.3686, allocations: 0 / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.205e-05/0.3686, allocations: 3.938 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.3688, allocations: 15.84 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.369, allocations: 15.98 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.3691, allocations: 63.78 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.3693, allocations: 20 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.3694, allocations: 27.84 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.3695, allocations: 31.84 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.3696, allocations: 4 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.883e-05/0.3696, allocations: 8 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.753e-05/0.3696, allocations: 8 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.433e-05/0.3697, allocations: 35.78 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.3698, allocations: 59.78 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.3699, allocations: 8 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3699, allocations: 3.938 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.3699, allocations: 0 / 1.09 GB, free: 15.61 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.0006056/0.3705, allocations: 369.2 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.3705, allocations: 8.031 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.3706, allocations: 12.84 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.371, allocations: 200.1 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.3711, allocations: 384 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.3711, allocations: 8.375 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.3713, allocations: 58.22 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3713, allocations: 192 / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.3713, allocations: 11.94 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3713, allocations: 0 / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.3714, allocations: 23.98 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.3719, allocations: 296.8 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.3722, allocations: 70.53 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.816e-05/0.3723, allocations: 21 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.3723, allocations: 0 / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.3724, allocations: 30.56 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 2.885e-06/0.3724, allocations: 4 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002822/0.3727, allocations: 73.52 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.3727, allocations: 59.41 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.3728, allocations: 121.8 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.3729, allocations: 25.7 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.3729, allocations: 88.14 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.373, allocations: 11.84 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.373, allocations: 21.7 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3731, allocations: 318.8 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.582e-05/0.3732, allocations: 15.98 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.799e-05/0.3733, allocations: 29.7 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.248e-05/0.3734, allocations: 32.78 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3734, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001541/0.3736, allocations: 73.89 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3736, allocations: 5.406 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3736, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3736, allocations: 7.969 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.069e-05/0.3737, allocations: 4 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3737, allocations: 4 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.841e-05/0.3737, allocations: 7.984 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.3738, allocations: 0 / 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 (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 9.935e-05/0.3739, allocations: 122.3 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.3739, allocations: 11.84 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.3739, allocations: 11.89 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3739, allocations: 3.938 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.374, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.374, allocations: 4 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.3741, allocations: 169.6 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3742, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.147e-05/0.3742, allocations: 7.984 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3742, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3742, allocations: 4 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3742, allocations: 4 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3742, allocations: 4 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.3744, allocations: 163.4 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.3745, allocations: 77.11 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.3745, allocations: 0 / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.3746, allocations: 7.984 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.3747, allocations: 11.98 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.3747, allocations: 3.938 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.392e-05/0.3747, allocations: 99.7 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3747, allocations: 0 / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002144/0.375, allocations: 8 kB / 1.092 GB, free: 12.61 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 (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 0.0001133/0.3751, allocations: 95.25 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001802/0.3753, 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.375e-06/0.3753, allocations: 4 kB / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.237e-05/0.3753, allocations: 12 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.0003351/0.3757, allocations: 12.27 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.000382/0.3761, allocations: 167.4 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.3764, allocations: 0.6923 MB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.972e-05/0.3764, allocations: 4 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.3765, allocations: 11.44 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.3765, allocations: 0 / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of Templates: time 0.003449/0.3799, allocations: 0.7088 MB / 1.094 GB, free: 10.83 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches