Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00907/0.00907, allocations: 98.97 kB / 15.73 MB, free: 6.004 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.001686/0.001687, allocations: 192.7 kB / 16.67 MB, free: 5.93 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.523/1.523, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.813/2.813, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.91 kB / 1.018 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3634, allocations: 151.6 MB / 1.167 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001895/0.3654, allocations: 0.7012 MB / 1.167 GB, free: 6.117 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.3664, allocations: 0.8545 MB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.351e-05/0.3665, allocations: 4 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.357e-05/0.3666, allocations: 3.938 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.3667, allocations: 15.8 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.3669, allocations: 23.97 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.874e-05/0.367, allocations: 51.84 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.3671, allocations: 27.94 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.905e-05/0.3672, allocations: 27.86 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.661e-05/0.3673, allocations: 27.89 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.3673, allocations: 4 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.538e-05/0.3674, allocations: 4 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.629e-05/0.3674, allocations: 15.94 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.3674, allocations: 23.86 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.3676, allocations: 75.7 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3676, allocations: 0 / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3676, allocations: 0 / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.3676, allocations: 0 / 1.168 GB, free: 4.949 MB / 0.92 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.0005278/0.3681, allocations: 371.2 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3682, allocations: 12.03 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.3682, allocations: 8.891 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.3685, allocations: 188.2 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.3685, allocations: 8.375 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.3686, allocations: 8.375 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.3687, allocations: 54.23 kB / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.3687, allocations: 192 / 1.169 GB, free: 4.219 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.3687, allocations: 3.938 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3688, allocations: 3.984 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.3689, allocations: 27.98 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.3693, allocations: 308.7 kB / 1.169 GB, free: 3.832 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.3696, allocations: 66.59 kB / 1.169 GB, free: 3.758 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.283e-05/0.3697, allocations: 16.94 kB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.3697, allocations: 4 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.3697, allocations: 42.5 kB / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3697, allocations: 0 / 1.169 GB, free: 3.684 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002682/0.37, allocations: 69.62 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.37, allocations: 55.34 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.68e-05/0.3701, allocations: 121.8 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.3702, allocations: 25.7 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.601e-05/0.3702, allocations: 96.09 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.3703, allocations: 11.94 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.3703, allocations: 21.72 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3704, allocations: 318.8 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.012e-05/0.3705, allocations: 12 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/0.3706, allocations: 29.7 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.702e-05/0.3706, allocations: 32.78 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3707, allocations: 3.938 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001298/0.3708, allocations: 69.66 kB / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3708, allocations: 8 kB / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3708, allocations: 0 / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3708, allocations: 0 / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.656e-05/0.3709, allocations: 4 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3709, allocations: 0 / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.561e-05/0.371, allocations: 11.98 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.371, allocations: 8 kB / 1.17 GB, free: 2.734 MB / 0.92 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.253e-05/0.3711, allocations: 121.7 kB / 1.17 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.3711, allocations: 0 / 1.17 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.301e-05/0.3712, allocations: 15.89 kB / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3712, allocations: 0 / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3712, allocations: 0 / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3712, allocations: 0 / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.3714, allocations: 181.5 kB / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3714, allocations: 0 / 1.171 GB, free: 2.355 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.106e-05/0.3714, allocations: 7.984 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3714, allocations: 0 / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.3714, allocations: 4 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3714, allocations: 0 / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3714, allocations: 336 / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.3716, allocations: 167.3 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.3717, allocations: 85.06 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.3717, allocations: 0 / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-05/0.3718, allocations: 7.984 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.3718, allocations: 19.92 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.3718, allocations: 0 / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.203e-05/0.3719, allocations: 95.27 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3719, allocations: 0 / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002146/0.3721, allocations: 4 kB / 1.171 GB, free: 1.938 MB / 0.92 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.0001035/0.3722, allocations: 99.25 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001663/0.3724, allocations: 35.97 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3724, allocations: 4 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.077e-05/0.3725, allocations: 12 kB / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.3728, allocations: 19.86 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.3731, allocations: 151.6 kB / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.3734, allocations: 0.687 MB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.012e-05/0.3735, allocations: 8 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.3735, allocations: 11.42 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of SimCode: time 5.61e-07/0.3735, allocations: 7.938 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of Templates: time 0.002994/0.3765, allocations: 0.7013 MB / 1.173 GB, free: 160 kB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches