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.001563/0.001563, allocations: 110.7 kB / 16.41 MB, free: 6.5 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.001714/0.001714, allocations: 185.6 kB / 17.34 MB, free: 5.758 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.303/2.303, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 67.88 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8545/0.8561, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001775/0.8579, allocations: 0.7078 MB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000922/0.8589, allocations: 0.8417 MB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.078e-05/0.8589, allocations: 0.6562 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.021e-05/0.859, allocations: 4.594 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.513e-05/0.8591, allocations: 10.14 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.8593, allocations: 25.19 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.8594, allocations: 57.72 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.8595, allocations: 22.34 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.8596, allocations: 27.97 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.328e-05/0.8597, allocations: 25.92 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.8598, allocations: 5.469 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.568e-05/0.8598, allocations: 5.25 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.8598, allocations: 15.02 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/0.8599, allocations: 28.12 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.86, allocations: 69.97 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.86, allocations: 1.125 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.325e-06/0.86, allocations: 0 / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.86, allocations: 3.938 kB / 1.09 GB, free: 4.27 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.0004375/0.8605, allocations: 370.7 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.8605, allocations: 8.812 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.8605, allocations: 8.25 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.8608, allocations: 190.8 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.8608, allocations: 3.141 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.8608, allocations: 3.562 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.861, allocations: 54.75 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.861, allocations: 1.594 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.861, allocations: 11.88 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.861, allocations: 1.344 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.8611, allocations: 32.61 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.8615, allocations: 297.9 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.8618, allocations: 66.98 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.697e-05/0.8619, allocations: 22.61 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.8619, allocations: 1.312 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.862, allocations: 36.73 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.862, allocations: 0 / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002612/0.8622, allocations: 78.66 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.8623, allocations: 51.41 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.015e-05/0.8624, allocations: 128.1 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.8624, allocations: 27.69 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.351e-05/0.8624, allocations: 92.03 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.8625, allocations: 9.938 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.8625, allocations: 19.25 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.05e-05/0.8626, allocations: 319.1 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.613e-05/0.8626, allocations: 18.03 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.313e-05/0.8627, allocations: 31.19 kB / 1.092 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.655e-05/0.8628, allocations: 26.61 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.8628, allocations: 4.031 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000139/0.8629, allocations: 70.34 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.863, allocations: 6 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.863, allocations: 0.5156 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.863, allocations: 0 / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.461e-05/0.8631, allocations: 6.875 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.8631, allocations: 3.938 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.331e-05/0.8631, allocations: 9.359 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.8631, allocations: 1.281 kB / 1.092 GB, free: 2.449 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 6.336e-05/0.8632, allocations: 122.2 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.8632, allocations: 6.562 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.8633, allocations: 11.56 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.8633, allocations: 0 / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.8633, allocations: 1.219 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.8633, allocations: 0.6094 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.8634, allocations: 178.6 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.8634, allocations: 0 / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.8635, allocations: 10.12 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.8635, allocations: 0 / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.8635, allocations: 2.328 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8635, allocations: 0 / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.8635, allocations: 0.5156 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.8637, allocations: 166.8 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.8637, allocations: 79.83 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.8637, allocations: 1.562 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.963e-05/0.8638, allocations: 8.969 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.8639, allocations: 12.12 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.8639, allocations: 4.562 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.57e-05/0.864, allocations: 93.67 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.864, allocations: 0 / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002441/0.8642, allocations: 11.47 kB / 1.093 GB, free: 1.762 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.0001017/0.8643, allocations: 96.11 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001833/0.8645, allocations: 37.94 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8645, allocations: 0 / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.102e-05/0.8646, allocations: 20.72 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.8649, allocations: 15.02 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.8653, allocations: 181.4 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.8654, allocations: 0.6883 MB / 1.094 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.8655, allocations: 11.64 kB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.8655, allocations: 0 / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of Templates: time 0.002677/0.8682, allocations: 0.8529 MB / 1.095 GB, free: 0.707 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/jenkins1/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