Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shaT.THigh|shaT.TLow|shaT.T|shaT.y",fileNamePrefix="Buildings_9_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_9_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.001379/0.001379, allocations: 107.5 kB / 16.41 MB, free: 6.512 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.001498/0.001498, allocations: 187 kB / 17.34 MB, free: 5.742 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.422/1.422, 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.322/2.322, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 63.91 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8493/0.8508, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001813/0.8527, allocations: 0.7092 MB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008834/0.8536, allocations: 0.8448 MB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.672e-05/0.8537, allocations: 4 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.8537, allocations: 5.656 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.406e-05/0.8538, allocations: 13.69 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.854, allocations: 21.31 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.009e-05/0.8541, allocations: 57.06 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.8542, allocations: 14.73 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.269e-05/0.8543, allocations: 36.5 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.48e-05/0.8544, allocations: 25.17 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.8544, allocations: 5.656 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.542e-05/0.8544, allocations: 5.344 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.8544, allocations: 11.58 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.519e-05/0.8545, allocations: 32.92 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.8546, allocations: 65.19 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.8546, allocations: 1.547 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8546, allocations: 0 / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.8546, allocations: 0 / 1.09 GB, free: 4.281 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.0004194/0.8551, allocations: 374.8 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.8551, allocations: 9.375 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.8551, allocations: 8 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.8553, allocations: 190.3 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.8554, allocations: 7.25 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.8554, allocations: 2.812 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.8555, allocations: 63.34 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.8555, allocations: 5.281 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.8556, allocations: 3.938 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.8556, allocations: 1.219 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.8557, allocations: 29.92 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.856, allocations: 293 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.8563, allocations: 75.17 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.12e-05/0.8564, allocations: 19.41 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.8564, allocations: 0 / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.8564, allocations: 32.27 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.8564, allocations: 0 / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002514/0.8567, allocations: 79.38 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.8567, allocations: 59.8 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.716e-05/0.8568, allocations: 127.2 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.8568, allocations: 30.8 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.8568, allocations: 90.05 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.8569, allocations: 6.891 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.8569, allocations: 18 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.714e-05/0.857, allocations: 323.3 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.173e-05/0.857, allocations: 18.61 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.981e-05/0.8571, allocations: 26.53 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.379e-05/0.8572, allocations: 30.5 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8572, allocations: 4 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001338/0.8573, allocations: 70.19 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.8573, allocations: 5.25 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.8574, allocations: 1.547 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.8574, allocations: 4.031 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.199e-05/0.8574, allocations: 6.812 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.8574, allocations: 0 / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.424e-05/0.8575, allocations: 8.312 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.8575, allocations: 1.781 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 (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 7.807e-05/0.8576, allocations: 119 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.8576, allocations: 6.375 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.8577, allocations: 11.08 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.8577, allocations: 4.875 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.8577, allocations: 0 / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.8577, allocations: 1.75 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.8579, allocations: 173.2 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.8579, allocations: 0.7969 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.367e-05/0.858, allocations: 5.734 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.858, allocations: 1.062 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.858, allocations: 0.5625 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.858, allocations: 2.031 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.858, allocations: 0 / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.8582, allocations: 166.3 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.8582, allocations: 79.78 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.8582, allocations: 5.219 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.788e-05/0.8583, allocations: 6.188 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/0.8584, allocations: 10.42 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.8584, allocations: 1.891 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.615e-05/0.8584, allocations: 97.11 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.8585, allocations: 1.125 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002236/0.8587, allocations: 14.38 kB / 1.093 GB, free: 1.766 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 (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 9.958e-05/0.8588, allocations: 95.7 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.859, allocations: 42.92 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.859, allocations: 0 / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.946e-05/0.8591, allocations: 16.08 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.8594, allocations: 12.38 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.8597, allocations: 189 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.8599, allocations: 0.6853 MB / 1.094 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.8599, allocations: 11.23 kB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of SimCode: time 8.01e-07/0.8599, allocations: 0 / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of Templates: time 0.002628/0.8625, allocations: 0.8535 MB / 1.095 GB, free: 0.707 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches