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.001218/0.001218, allocations: 112 kB / 16.41 MB, free: 6.496 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.001469/0.001469, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.459/2.459, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 63.91 kB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8398/0.8413, allocations: 151.6 MB / 1.167 GB, free: 4.02 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001879/0.8432, allocations: 0.7031 MB / 1.168 GB, free: 3.316 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009181/0.8441, allocations: 0.8453 MB / 1.169 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.938e-05/0.8442, allocations: 0 / 1.169 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.8442, allocations: 3.938 kB / 1.169 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.28e-05/0.8444, allocations: 11.88 kB / 1.169 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.8445, allocations: 31.91 kB / 1.169 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.123e-05/0.8446, allocations: 55.8 kB / 1.169 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.8448, allocations: 19.97 kB / 1.169 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.8449, allocations: 27.92 kB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.537e-05/0.845, allocations: 23.86 kB / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.845, allocations: 8 kB / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.845, allocations: 8 kB / 1.169 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.845, allocations: 11.98 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.807e-05/0.8451, allocations: 27.86 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.8452, allocations: 63.7 kB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.8452, allocations: 4 kB / 1.169 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8452, allocations: 0 / 1.169 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.8453, allocations: 3.938 kB / 1.169 GB, free: 2.164 MB / 0.8887 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.000514/0.8458, allocations: 361.1 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.8458, allocations: 12.92 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.8459, allocations: 8.844 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.8461, allocations: 196.2 kB / 1.17 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.8462, allocations: 8.375 kB / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.8462, allocations: 384 / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.8463, allocations: 58.23 kB / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.8463, allocations: 192 / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.8464, allocations: 7.938 kB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.8464, allocations: 3.938 kB / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.8465, allocations: 39.91 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.8469, allocations: 292.8 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.8472, allocations: 70.47 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.385e-05/0.8473, allocations: 20.92 kB / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.8473, allocations: 0 / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.8473, allocations: 38.64 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.8473, allocations: 0 / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0002623/0.8476, allocations: 69.58 kB / 1.17 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.8476, allocations: 51.41 kB / 1.17 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.547e-05/0.8477, allocations: 121.8 kB / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.8478, allocations: 33.7 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.535e-05/0.8478, allocations: 99.97 kB / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.8478, allocations: 3.906 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.8479, allocations: 21.7 kB / 1.171 GB, free: 480 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.848, allocations: 326.7 kB / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.48e-05/0.8481, allocations: 15.98 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.609e-05/0.8481, allocations: 25.7 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.517e-05/0.8482, allocations: 37.16 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8482, allocations: 0 / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001504/0.8484, allocations: 61.83 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.8484, allocations: 8 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.8484, allocations: 0 / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.8484, allocations: 0 / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.337e-05/0.8485, allocations: 11.92 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.8485, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.903e-05/0.8486, allocations: 11.98 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.8486, allocations: 4 kB / 1.171 GB, free: 15.95 MB / 0.9044 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.755e-05/0.8487, allocations: 120 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.8487, allocations: 3.906 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.8487, allocations: 11.91 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.8488, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.8488, allocations: 7.875 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.8488, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.8489, allocations: 181.5 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.849, allocations: 4 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.275e-05/0.849, allocations: 4 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.849, allocations: 0 / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.849, allocations: 3.984 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.849, allocations: 0 / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.849, allocations: 0 / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.8492, allocations: 163.3 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.8493, allocations: 81.11 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.8493, allocations: 8 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.829e-05/0.8494, allocations: 11.98 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.8494, allocations: 4 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.8494, allocations: 3.984 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.416e-05/0.8495, allocations: 91.28 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8495, allocations: 0 / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002243/0.8497, allocations: 15.84 kB / 1.172 GB, free: 15.15 MB / 0.9044 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.316e-05/0.8498, allocations: 103.2 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000156/0.85, allocations: 31.98 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.85, allocations: 0 / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.33e-05/0.8501, allocations: 23.92 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.8503, allocations: 10.59 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/0.8507, allocations: 185.4 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.851, allocations: 0.6885 MB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.851, allocations: 11.44 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.851, allocations: 0 / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of Templates: time 0.002123/0.8532, allocations: 0.8464 MB / 1.174 GB, free: 13.2 MB / 0.9044 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/jenkins1/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