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.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_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.001477/0.001477, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01071/0.01071, allocations: 173.9 kB / 16.27 MB, free: 6.676 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.62/1.62, allocations: 223.2 MB / 240.3 MB, free: 5.328 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.697/2.697, allocations: 390.9 MB / 0.6663 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004259, allocations: 8 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8483/0.8488, allocations: 142.4 MB / 0.955 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.0008651/0.8497, allocations: 443.1 kB / 0.9555 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008219/0.8505, allocations: 0.834 MB / 0.9563 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.2e-05/0.8506, allocations: 1.156 kB / 0.9563 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.909e-05/0.8506, allocations: 0 / 0.9563 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.146e-05/0.8507, allocations: 5.688 kB / 0.9563 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001665/0.8509, allocations: 31.28 kB / 0.9563 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.364e-05/0.851, allocations: 54.2 kB / 0.9564 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.8511, allocations: 14.73 kB / 0.9564 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.214e-05/0.8512, allocations: 20.98 kB / 0.9564 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.073e-05/0.8513, allocations: 22.59 kB / 0.9564 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.8513, allocations: 2.031 kB / 0.9564 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/0.8513, allocations: 1.125 kB / 0.9564 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.8513, allocations: 10.19 kB / 0.9564 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.8514, allocations: 46.34 kB / 0.9565 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.389e-05/0.8515, allocations: 66.16 kB / 0.9565 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.8515, allocations: 1.219 kB / 0.9565 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8515, allocations: 0 / 0.9565 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.8515, allocations: 0 / 0.9565 GB, free: 6.508 MB / 0.7169 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.0003978/0.8519, allocations: 362.1 kB / 0.9569 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.852, allocations: 13.06 kB / 0.9569 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.852, allocations: 8.062 kB / 0.9569 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.8522, allocations: 194.4 kB / 0.9571 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.8522, allocations: 5.531 kB / 0.9571 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.8523, allocations: 3.875 kB / 0.9571 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.8524, allocations: 58.11 kB / 0.9572 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.8524, allocations: 192 / 0.9572 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.8524, allocations: 7.938 kB / 0.9572 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.8524, allocations: 1.156 kB / 0.9572 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.8526, allocations: 35.62 kB / 0.9572 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.8529, allocations: 305 kB / 0.9575 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.8532, allocations: 79.62 kB / 0.9576 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.496e-05/0.8533, allocations: 22.36 kB / 0.9576 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.8533, allocations: 1.219 kB / 0.9576 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.415e-05/0.8533, allocations: 38.58 kB / 0.9576 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.8533, allocations: 0 / 0.9576 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002466/0.8536, allocations: 76.27 kB / 0.9577 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/0.8536, allocations: 60.44 kB / 0.9578 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.342e-05/0.8537, allocations: 121.2 kB / 0.9579 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.8537, allocations: 31.08 kB / 0.9579 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/0.8538, allocations: 98.84 kB / 0.958 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.8538, allocations: 9.031 kB / 0.958 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.8538, allocations: 14.94 kB / 0.958 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.829e-05/0.8539, allocations: 321.4 kB / 0.9583 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.385e-05/0.8539, allocations: 17.66 kB / 0.9583 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.165e-05/0.854, allocations: 37.05 kB / 0.9584 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.623e-05/0.8541, allocations: 30.28 kB / 0.9584 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8541, allocations: 0 / 0.9584 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001294/0.8542, allocations: 71.33 kB / 0.9585 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.8543, allocations: 5.844 kB / 0.9585 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.8543, allocations: 336 / 0.9585 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.8543, allocations: 0 / 0.9585 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.758e-05/0.8543, allocations: 10.83 kB / 0.9585 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.8544, allocations: 0 / 0.9585 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.15e-05/0.8544, allocations: 8.75 kB / 0.9585 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.8544, allocations: 5.938 kB / 0.9585 GB, free: 4.574 MB / 0.7169 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 6.866e-05/0.8545, allocations: 127.7 kB / 0.9586 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.8545, allocations: 7.719 kB / 0.9586 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.8546, allocations: 9.781 kB / 0.9586 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.8546, allocations: 0 / 0.9586 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.8546, allocations: 0 / 0.9586 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.8546, allocations: 0 / 0.9586 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.8547, allocations: 185.1 kB / 0.9588 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.8547, allocations: 0 / 0.9588 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.8548, allocations: 4.094 kB / 0.9588 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.8548, allocations: 5.812 kB / 0.9588 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.8548, allocations: 0 / 0.9588 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.8548, allocations: 0 / 0.9588 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.8548, allocations: 5.734 kB / 0.9588 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.855, allocations: 157.9 kB / 0.959 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.855, allocations: 82.59 kB / 0.9591 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.8551, allocations: 9.469 kB / 0.9591 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.991e-05/0.8551, allocations: 9.906 kB / 0.9591 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.8552, allocations: 11.05 kB / 0.9591 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.8552, allocations: 1.5 kB / 0.9591 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.992e-05/0.8553, allocations: 92.89 kB / 0.9592 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.4e-07/0.8553, allocations: 1.531 kB / 0.9592 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002254/0.8555, allocations: 9.906 kB / 0.9592 GB, free: 3.848 MB / 0.7169 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.0001072/0.8556, allocations: 102.6 kB / 0.9593 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001678/0.8558, allocations: 39.89 kB / 0.9593 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.8558, allocations: 0 / 0.9593 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.178e-05/0.8559, allocations: 24.02 kB / 0.9594 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.8562, allocations: 11.14 kB / 0.9594 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.8565, allocations: 186.1 kB / 0.9595 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.8567, allocations: 0.6873 MB / 0.9602 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.519e-05/0.8567, allocations: 7.594 kB / 0.9602 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.8568, allocations: 11.03 kB / 0.9602 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of SimCode: time 5.71e-07/0.8568, allocations: 0 / 0.9602 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of Templates: time 0.003091/0.8599, allocations: 0.591 MB / 0.9608 GB, free: 2.531 MB / 0.7169 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