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.001817/0.001817, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.002132/0.002132, allocations: 187 kB / 17.34 MB, free: 5.719 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.513/1.513, allocations: 222.9 MB / 241 MB, free: 15.08 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.255/2.255, allocations: 390.2 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 59.91 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8508/0.8523, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001914/0.8542, allocations: 0.6993 MB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009816/0.8553, allocations: 0.8444 MB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.8553, allocations: 1.094 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.211e-05/0.8553, allocations: 8.672 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.236e-05/0.8555, allocations: 10.33 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.8556, allocations: 20.47 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.8557, allocations: 57.5 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.8559, allocations: 26.73 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.939e-05/0.856, allocations: 25.14 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.872e-05/0.8561, allocations: 23.83 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.8561, allocations: 5.25 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.8561, allocations: 5.5 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.8561, allocations: 16.69 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.8562, allocations: 31.28 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.8563, allocations: 65.97 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.8563, allocations: 5.188 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8563, allocations: 0 / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.8563, allocations: 0 / 1.09 GB, free: 4.262 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.0004362/0.8568, allocations: 369.7 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.8568, allocations: 9.375 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.8569, allocations: 8.125 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.8571, allocations: 188 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.8571, allocations: 7.359 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.8572, allocations: 2.75 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.8573, allocations: 67.08 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.8573, allocations: 192 / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.8574, allocations: 9.656 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.8574, allocations: 0.6875 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.8575, allocations: 25.53 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.8579, allocations: 296.8 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.8582, allocations: 75.53 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.393e-05/0.8582, allocations: 18.27 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.8583, allocations: 0.7031 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.8583, allocations: 35.75 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.8583, allocations: 0 / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000272/0.8586, allocations: 71.61 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.8586, allocations: 60.41 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.187e-05/0.8587, allocations: 126.9 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.8587, allocations: 27.56 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.952e-05/0.8588, allocations: 89.25 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.8588, allocations: 13.73 kB / 1.092 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.8588, allocations: 16.2 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.211e-05/0.8589, allocations: 321.7 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.877e-05/0.859, allocations: 18.91 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.416e-05/0.859, allocations: 27.55 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.97e-05/0.8591, allocations: 31.16 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.8591, allocations: 4.031 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001453/0.8593, allocations: 73.64 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.8593, allocations: 5.062 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.8593, allocations: 1.031 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.8594, allocations: 0.9062 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.232e-05/0.8594, allocations: 5.406 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.8594, allocations: 0.5625 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.388e-05/0.8595, allocations: 8.609 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.8595, allocations: 1.5 kB / 1.092 GB, free: 2.438 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 (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 7.166e-05/0.8596, allocations: 123.1 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.8596, allocations: 6.641 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.594e-05/0.8597, allocations: 11.06 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.8597, allocations: 0.6875 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.8597, allocations: 0 / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.8597, allocations: 1.453 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.8598, allocations: 173.3 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8599, allocations: 0.7812 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-05/0.8599, allocations: 6.203 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.8599, allocations: 5.062 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.8599, allocations: 4.609 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8599, allocations: 0.7188 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.8599, allocations: 1.453 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.8601, allocations: 163.1 kB / 1.093 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.704e-05/0.8601, allocations: 78.97 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.8602, allocations: 4.969 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.68e-05/0.8602, allocations: 9.781 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.8603, allocations: 11.08 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.8603, allocations: 1.844 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.488e-05/0.8604, allocations: 97.23 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8604, allocations: 0 / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002264/0.8606, allocations: 11.53 kB / 1.093 GB, free: 1.75 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 (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 9.154e-05/0.8607, allocations: 96.34 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001682/0.8609, allocations: 41.31 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.8609, allocations: 0 / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.799e-05/0.861, allocations: 16.66 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.8613, allocations: 12.34 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.8616, allocations: 189.1 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.8617, allocations: 0.6886 MB / 1.094 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.8618, allocations: 15.2 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.8618, allocations: 0 / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of Templates: time 0.002536/0.8643, allocations: 0.8522 MB / 1.095 GB, free: 0.6914 MB / 0.8575 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/jenkins1/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