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.007265/0.007266, allocations: 107 kB / 15.74 MB, free: 6.051 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.001673/0.001673, allocations: 189.6 kB / 16.67 MB, free: 5.98 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.694/2.694, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 62.31 kB / 0.9508 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3552, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002366/0.3577, allocations: 0.7006 MB / 1.089 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.359, allocations: 0.8432 MB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.77e-05/0.359, allocations: 0 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.976e-05/0.3591, allocations: 3.938 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.3592, allocations: 23.84 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.3594, allocations: 15.98 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.3596, allocations: 67.72 kB / 1.089 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.3598, allocations: 12 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.3599, allocations: 31.91 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.745e-05/0.36, allocations: 23.84 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.36, allocations: 8 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.412e-05/0.36, allocations: 11.94 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.071e-05/0.3601, allocations: 12 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.691e-05/0.3601, allocations: 23.86 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.3603, allocations: 75.7 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.3603, allocations: 0 / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3603, allocations: 3.938 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.3603, allocations: 0 / 1.09 GB, free: 15.64 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.0006318/0.3609, allocations: 363.3 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.361, allocations: 16.03 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.792e-05/0.361, allocations: 8.844 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.3613, allocations: 192.1 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.3614, allocations: 4.375 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.3614, allocations: 8.375 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.3615, allocations: 58.22 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3616, allocations: 192 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3616, allocations: 3.938 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3616, allocations: 0 / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.3617, allocations: 39.91 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004917/0.3622, allocations: 292.8 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.3625, allocations: 66.59 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.817e-05/0.3626, allocations: 24.88 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.3626, allocations: 4 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.3626, allocations: 34.56 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.3626, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002648/0.3629, allocations: 73.7 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.363, allocations: 51.41 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.3631, allocations: 121.8 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.3631, allocations: 29.7 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.3632, allocations: 92.14 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.3632, allocations: 15.83 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.3633, allocations: 17.72 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3634, allocations: 314.8 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.803e-05/0.3635, allocations: 19.92 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-05/0.3635, allocations: 33.7 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.357e-05/0.3636, allocations: 28.84 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3636, allocations: 0 / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001481/0.3638, allocations: 65.58 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3638, allocations: 8 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3638, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3638, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.864e-05/0.3639, allocations: 11.88 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3639, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.091e-05/0.364, allocations: 23.95 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.364, allocations: 0 / 1.092 GB, free: 13.42 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 9.76e-05/0.3641, allocations: 114.3 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.3641, allocations: 7.906 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.3642, allocations: 11.89 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.3642, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3642, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3642, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.3644, allocations: 177.6 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3644, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/0.3644, allocations: 11.98 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3645, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.3645, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3645, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3645, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.3647, allocations: 163.3 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.3648, allocations: 85.11 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.3648, allocations: 0 / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.3649, allocations: 7.984 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.577e-05/0.365, allocations: 11.98 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.365, allocations: 0 / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.931e-05/0.365, allocations: 99.64 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3651, allocations: 0 / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002143/0.3653, allocations: 4 kB / 1.092 GB, free: 12.64 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 0.0001589/0.3654, allocations: 103.2 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.3657, allocations: 35.97 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3657, allocations: 0 / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.333e-05/0.3657, allocations: 20.27 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.3661, allocations: 11.92 kB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/0.3665, allocations: 163.5 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.367, allocations: 0.6895 MB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.849e-05/0.367, allocations: 12.02 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.3671, allocations: 11.44 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3671, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of Templates: time 0.003506/0.3706, allocations: 0.7066 MB / 1.094 GB, free: 10.84 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/jenkins/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