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.001564/0.001564, allocations: 108 kB / 15.61 MB, free: 152 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.001803/0.001803, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.472/1.472, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.415/2.415, allocations: 390.2 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002424/0.002424, allocations: 59.91 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9596/0.9621, allocations: 140.4 MB / 0.9496 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002739/0.9649, allocations: 0.7032 MB / 0.9503 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.9661, allocations: 0.8414 MB / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.9662, allocations: 0 / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.538e-05/0.9663, allocations: 5.281 kB / 0.9511 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.9664, allocations: 21.12 kB / 0.9511 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.9667, allocations: 18.58 kB / 0.9511 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.9668, allocations: 59.52 kB / 0.9512 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.967, allocations: 15.98 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.9671, allocations: 33.5 kB / 0.9512 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.9672, allocations: 18.89 kB / 0.9512 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.9673, allocations: 5.625 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.038e-05/0.9673, allocations: 13.44 kB / 0.9513 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.792e-05/0.9673, allocations: 13.36 kB / 0.9513 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.9674, allocations: 26.08 kB / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.9676, allocations: 69.7 kB / 0.9514 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.9676, allocations: 1.219 kB / 0.9514 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9676, allocations: 0 / 0.9514 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.9676, allocations: 0 / 0.9514 GB, free: 7.766 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.0005872/0.9682, allocations: 365.2 kB / 0.9517 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.9682, allocations: 13.56 kB / 0.9517 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.915e-05/0.9683, allocations: 8.625 kB / 0.9517 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.9686, allocations: 190.4 kB / 0.9519 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.9686, allocations: 11.7 kB / 0.9519 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.9687, allocations: 10.92 kB / 0.9519 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.9688, allocations: 50.81 kB / 0.952 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.9688, allocations: 5.875 kB / 0.952 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.9689, allocations: 7.922 kB / 0.952 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.9689, allocations: 0 / 0.952 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.969, allocations: 37.16 kB / 0.952 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/0.9695, allocations: 301.3 kB / 0.9523 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.9698, allocations: 70.56 kB / 0.9524 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.912e-05/0.9699, allocations: 16.81 kB / 0.9524 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.9699, allocations: 4 kB / 0.9524 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.97, allocations: 31.62 kB / 0.9524 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.97, allocations: 0 / 0.9524 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002987/0.9703, allocations: 70.86 kB / 0.9525 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.9703, allocations: 59.34 kB / 0.9526 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.398e-05/0.9704, allocations: 121.3 kB / 0.9527 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.9704, allocations: 30.91 kB / 0.9527 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.9705, allocations: 95.86 kB / 0.9528 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.9705, allocations: 5.156 kB / 0.9528 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.9706, allocations: 21.42 kB / 0.9528 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.315e-05/0.9706, allocations: 316.1 kB / 0.9531 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.578e-05/0.9707, allocations: 16.77 kB / 0.9532 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-05/0.9708, allocations: 35.67 kB / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.306e-05/0.9709, allocations: 26.44 kB / 0.9532 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.9709, allocations: 3.938 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001607/0.971, allocations: 63.19 kB / 0.9533 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.9711, allocations: 5.5 kB / 0.9533 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.9711, allocations: 0 / 0.9533 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.9711, allocations: 5.547 kB / 0.9533 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.032e-05/0.9712, allocations: 7.375 kB / 0.9533 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.9712, allocations: 1.438 kB / 0.9533 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.118e-05/0.9712, allocations: 12.64 kB / 0.9533 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.9713, allocations: 1.562 kB / 0.9533 GB, free: 5.816 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 8.144e-05/0.9713, allocations: 116.8 kB / 0.9534 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.9714, allocations: 3.406 kB / 0.9534 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.863e-05/0.9714, allocations: 5.062 kB / 0.9534 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.9714, allocations: 336 / 0.9534 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.9714, allocations: 5.719 kB / 0.9534 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.9714, allocations: 0 / 0.9534 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.9716, allocations: 183 kB / 0.9536 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.9716, allocations: 1.656 kB / 0.9536 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/0.9716, allocations: 15.16 kB / 0.9536 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.9716, allocations: 1.688 kB / 0.9536 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.9717, allocations: 0 / 0.9536 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.9717, allocations: 0 / 0.9536 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.9717, allocations: 5.438 kB / 0.9536 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.9718, allocations: 162.7 kB / 0.9538 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.716e-05/0.9719, allocations: 82.92 kB / 0.9539 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.9719, allocations: 4 kB / 0.9539 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.932e-05/0.972, allocations: 8.516 kB / 0.9539 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.216e-05/0.972, allocations: 10.33 kB / 0.9539 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.9721, allocations: 1.469 kB / 0.9539 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.368e-05/0.9721, allocations: 93.64 kB / 0.954 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9721, allocations: 0 / 0.954 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002396/0.9724, allocations: 15.66 kB / 0.954 GB, free: 5.09 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.0001182/0.9725, allocations: 104 kB / 0.9541 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001913/0.9727, allocations: 30.83 kB / 0.9541 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9727, allocations: 1.375 kB / 0.9541 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.801e-05/0.9728, allocations: 17.02 kB / 0.9541 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.9731, allocations: 9.031 kB / 0.9541 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.9736, allocations: 162.1 kB / 0.9543 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.9738, allocations: 0.6894 MB / 0.955 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.41e-05/0.9738, allocations: 10.61 kB / 0.955 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.9739, allocations: 10.19 kB / 0.955 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.9739, allocations: 1.312 kB / 0.955 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of Templates: time 0.003739/0.9776, allocations: 0.6975 MB / 0.9557 GB, free: 3.758 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