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.001411/0.001411, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001772/0.001772, allocations: 198.1 kB / 16.26 MB, free: 6.621 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.458/1.458, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.501/2.501, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 67.89 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8334/0.8347, allocations: 140.4 MB / 0.9491 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.00183/0.8366, allocations: 0.7508 MB / 0.9498 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008448/0.8375, allocations: 0.8467 MB / 0.9507 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.635e-05/0.8375, allocations: 0 / 0.9507 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.68e-05/0.8376, allocations: 0 / 0.9507 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.401e-05/0.8377, allocations: 17.27 kB / 0.9507 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.8378, allocations: 19.95 kB / 0.9507 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.471e-05/0.8379, allocations: 58.7 kB / 0.9507 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.8381, allocations: 20.09 kB / 0.9508 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.8382, allocations: 26.39 kB / 0.9508 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.66e-05/0.8383, allocations: 22.2 kB / 0.9508 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.8383, allocations: 9.125 kB / 0.9508 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.635e-05/0.8383, allocations: 9.281 kB / 0.9508 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.8383, allocations: 10.05 kB / 0.9508 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.8384, allocations: 25.23 kB / 0.9509 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.8385, allocations: 67.86 kB / 0.9509 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8385, allocations: 3.938 kB / 0.9509 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8385, allocations: 0 / 0.9509 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.8385, allocations: 0 / 0.9509 GB, free: 7.836 MB / 0.7169 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.0004086/0.8389, allocations: 365.3 kB / 0.9513 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.839, allocations: 14.06 kB / 0.9513 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.839, allocations: 7.25 kB / 0.9513 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.8392, allocations: 195.9 kB / 0.9515 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.8392, allocations: 5.594 kB / 0.9515 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.8393, allocations: 4.281 kB / 0.9515 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.8394, allocations: 62.84 kB / 0.9516 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.8394, allocations: 1.656 kB / 0.9516 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.8394, allocations: 3.938 kB / 0.9516 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.8394, allocations: 1.562 kB / 0.9516 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.693e-05/0.8395, allocations: 35.11 kB / 0.9516 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000365/0.8399, allocations: 298.7 kB / 0.9519 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.8402, allocations: 70.28 kB / 0.9519 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.8403, allocations: 23.78 kB / 0.952 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.8403, allocations: 1.5 kB / 0.952 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.8403, allocations: 30.56 kB / 0.952 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 2.275e-06/0.8403, allocations: 0 / 0.952 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000237/0.8405, allocations: 70.61 kB / 0.9521 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.8406, allocations: 60.92 kB / 0.9521 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.35e-05/0.8407, allocations: 116.6 kB / 0.9522 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.8407, allocations: 31.2 kB / 0.9523 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.8407, allocations: 99.5 kB / 0.9524 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.8407, allocations: 5.312 kB / 0.9524 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.8408, allocations: 16.81 kB / 0.9524 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.387e-05/0.8408, allocations: 325.3 kB / 0.9527 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.718e-05/0.8409, allocations: 14.97 kB / 0.9527 GB, free: 6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.429e-05/0.841, allocations: 36.02 kB / 0.9527 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.339e-05/0.841, allocations: 31.36 kB / 0.9528 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.841, allocations: 0 / 0.9528 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001147/0.8412, allocations: 67.11 kB / 0.9528 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.8412, allocations: 5.5 kB / 0.9528 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.8412, allocations: 0 / 0.9528 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.8412, allocations: 0 / 0.9528 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.921e-05/0.8413, allocations: 17.47 kB / 0.9529 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.8413, allocations: 3.984 kB / 0.9529 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.408e-05/0.8413, allocations: 5.406 kB / 0.9529 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.8414, allocations: 1.375 kB / 0.9529 GB, free: 5.883 MB / 0.7169 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 8.254e-05/0.8414, allocations: 117.9 kB / 0.953 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.8415, allocations: 5.359 kB / 0.953 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.173e-05/0.8415, allocations: 5.281 kB / 0.953 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.8415, allocations: 1.375 kB / 0.953 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.8415, allocations: 4 kB / 0.953 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.8415, allocations: 1.375 kB / 0.953 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.8417, allocations: 183.1 kB / 0.9532 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8417, allocations: 0 / 0.9532 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.109e-05/0.8417, allocations: 4.125 kB / 0.9532 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.8417, allocations: 1.375 kB / 0.9532 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.8417, allocations: 0 / 0.9532 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.8417, allocations: 5.312 kB / 0.9532 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.8417, allocations: 3.938 kB / 0.9532 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.8419, allocations: 162.7 kB / 0.9533 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.999e-05/0.8419, allocations: 86.38 kB / 0.9534 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.8419, allocations: 1.375 kB / 0.9534 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.198e-05/0.842, allocations: 4.125 kB / 0.9534 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.8421, allocations: 10.73 kB / 0.9534 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.8421, allocations: 1.375 kB / 0.9534 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.677e-05/0.8421, allocations: 92.89 kB / 0.9535 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8421, allocations: 1.375 kB / 0.9535 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002228/0.8423, allocations: 14.81 kB / 0.9535 GB, free: 5.164 MB / 0.7169 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 8.967e-05/0.8424, allocations: 98.16 kB / 0.9536 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001589/0.8426, allocations: 36.66 kB / 0.9537 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8426, allocations: 0 / 0.9537 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.115e-05/0.8427, allocations: 22.33 kB / 0.9537 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.843, allocations: 8.875 kB / 0.9537 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.8433, allocations: 167.6 kB / 0.9539 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.8434, allocations: 0.6857 MB / 0.9545 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.233e-05/0.8435, allocations: 15.84 kB / 0.9545 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.8435, allocations: 14.31 kB / 0.9546 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8435, allocations: 0 / 0.9546 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of Templates: time 0.002563/0.8461, allocations: 0.6369 MB / 0.9552 GB, free: 3.844 MB / 0.7169 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/jenkins/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