Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00748/0.00748, allocations: 95.61 kB / 15.73 MB, free: 6.043 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.001612/0.001612, allocations: 196.7 kB / 16.67 MB, free: 5.973 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.498/1.498, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.789/2.789, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.89 kB / 1.018 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.3998, allocations: 151.6 MB / 1.167 GB, free: 6.941 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002028/0.4019, allocations: 0.7027 MB / 1.167 GB, free: 6.234 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.4031, allocations: 0.8545 MB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.704e-05/0.4031, allocations: 0 / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.448e-05/0.4032, allocations: 3.938 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.4033, allocations: 7.875 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.4035, allocations: 31.95 kB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.4036, allocations: 55.86 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.4038, allocations: 15.98 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.4039, allocations: 31.8 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.598e-05/0.404, allocations: 23.91 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.404, allocations: 4 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.082e-05/0.4041, allocations: 8 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.462e-05/0.4041, allocations: 19.92 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.848e-05/0.4041, allocations: 23.88 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.4043, allocations: 71.69 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4043, allocations: 0 / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4043, allocations: 0 / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.4043, allocations: 0 / 1.168 GB, free: 5.074 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.0005222/0.4048, allocations: 371.2 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.4049, allocations: 8.031 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.4049, allocations: 8.891 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.4052, allocations: 200.2 kB / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.4052, allocations: 384 / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.4053, allocations: 8.375 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.4054, allocations: 54.23 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.4054, allocations: 4.188 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.4055, allocations: 3.938 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.4055, allocations: 0 / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.4056, allocations: 35.97 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.406, allocations: 308.7 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.4063, allocations: 66.53 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.294e-05/0.4064, allocations: 12.92 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.4064, allocations: 4 kB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.4064, allocations: 38.64 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4064, allocations: 0 / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002645/0.4067, allocations: 77.56 kB / 1.17 GB, free: 3.727 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.4068, allocations: 51.41 kB / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.588e-05/0.4069, allocations: 121.8 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.4069, allocations: 25.7 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.471e-05/0.407, allocations: 104.1 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.407, allocations: 3.953 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/0.407, allocations: 21.7 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4072, allocations: 322.7 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.367e-05/0.4072, allocations: 11.98 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.4073, allocations: 33.7 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.438e-05/0.4074, allocations: 28.88 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4074, allocations: 3.938 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001308/0.4075, allocations: 65.64 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.4076, allocations: 4 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.4076, allocations: 0 / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.4076, allocations: 0 / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.07e-05/0.4076, allocations: 11.98 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.4077, allocations: 0 / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.769e-05/0.4077, allocations: 11.98 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.4077, allocations: 4 kB / 1.17 GB, free: 2.855 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 (shaT.hys.y,$PRE.shaT.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.302e-05/0.4078, allocations: 113.8 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.4079, allocations: 8.328 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.4079, allocations: 3.906 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.4079, allocations: 3.984 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4079, allocations: 4 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4079, allocations: 0 / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.4081, allocations: 181.5 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4081, allocations: 0 / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.906e-05/0.4082, allocations: 11.94 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.4082, allocations: 4 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.4082, allocations: 3.984 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4082, allocations: 0 / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4082, allocations: 0 / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.4084, allocations: 159.4 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.4084, allocations: 81.06 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.4085, allocations: 4 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.4085, allocations: 11.92 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.4086, allocations: 8 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.4086, allocations: 11.98 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.218e-05/0.4087, allocations: 87.28 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4087, allocations: 0 / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002206/0.4089, allocations: 8 kB / 1.171 GB, free: 2.062 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 (shaT.hys.y) * Number of discrete states: 1 (shaT.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.409, allocations: 111.2 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000171/0.4092, allocations: 31.98 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4092, allocations: 0 / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.303e-05/0.4093, allocations: 15.98 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.4096, allocations: 7.938 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003819/0.41, allocations: 163.5 kB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.4102, allocations: 0.6885 MB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.773e-05/0.4103, allocations: 4 kB / 1.172 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.4103, allocations: 11.44 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/0.4103, allocations: 0 / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of Templates: time 0.003222/0.4135, allocations: 0.7198 MB / 1.173 GB, free: 268 kB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches