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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.258/2.258, allocations: 387.4 MB / 394.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 172.9 kB / 487.4 MB, free: 5.039 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 221.5 MB / 0.7824 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 103.7 kB / 0.9219 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.941e-05/1.944e-05, allocations: 1.75 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3635, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.088/1.451, allocations: 148.4 MB / 1.351 GB, free: 18.53 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/1.452, allocations: 63.94 kB / 1.351 GB, free: 18.53 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003882/1.456, allocations: 1.082 MB / 1.352 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.164e-06/1.456, allocations: 0 / 1.352 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.146e-06/1.456, allocations: 1.312 kB / 1.352 GB, free: 34.18 MB / 0.8386 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.0004071/1.456, allocations: 355.9 kB / 1.352 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/1.456, allocations: 9.188 kB / 1.352 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/1.456, allocations: 3.094 kB / 1.352 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/1.456, allocations: 188.1 kB / 1.352 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/1.456, allocations: 1.312 kB / 1.352 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/1.456, allocations: 2.656 kB / 1.352 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.725e-05/1.456, allocations: 19.23 kB / 1.353 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.228e-05/1.457, allocations: 51.03 kB / 1.353 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/1.457, allocations: 3.938 kB / 1.353 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/1.457, allocations: 0 / 1.353 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/1.457, allocations: 5.781 kB / 1.353 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/1.457, allocations: 274.9 kB / 1.353 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/1.457, allocations: 76.34 kB / 1.353 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.601e-05/1.457, allocations: 13.52 kB / 1.353 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/1.457, allocations: 0.7969 kB / 1.353 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.398e-05/1.457, allocations: 39.2 kB / 1.353 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/1.457, allocations: 4 kB / 1.353 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001394/1.457, allocations: 53.52 kB / 1.353 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.654e-05/1.458, allocations: 52.11 kB / 1.353 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.834e-05/1.458, allocations: 109.4 kB / 1.353 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/1.458, allocations: 27.02 kB / 1.353 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/1.458, allocations: 95.91 kB / 1.353 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.278e-05/1.458, allocations: 5.75 kB / 1.353 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/1.458, allocations: 0 / 1.353 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.458, allocations: 322.7 kB / 1.354 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.502e-05/1.458, allocations: 12.69 kB / 1.354 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.154e-05/1.458, allocations: 25.84 kB / 1.354 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.541e-05/1.458, allocations: 8.812 kB / 1.354 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/1.458, allocations: 0 / 1.354 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.622e-05/1.458, allocations: 51.27 kB / 1.354 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/1.458, allocations: 6.062 kB / 1.354 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/1.458, allocations: 0 / 1.354 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/1.458, allocations: 0 / 1.354 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.954e-05/1.458, allocations: 16.47 kB / 1.354 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/1.458, allocations: 1.203 kB / 1.354 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.974e-05/1.458, allocations: 14.69 kB / 1.354 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/1.458, allocations: 1.938 kB / 1.354 GB, free: 32.57 MB / 0.8386 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 ($PRE.shaH.hys.y,shaH.hys.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.558e-05/1.458, allocations: 107.6 kB / 1.354 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/1.458, allocations: 7 kB / 1.354 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/1.458, allocations: 10.19 kB / 1.354 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/1.458, allocations: 4 kB / 1.354 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.458, allocations: 4.438 kB / 1.354 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.458, allocations: 0.7969 kB / 1.354 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/1.459, allocations: 158.9 kB / 1.354 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.459, allocations: 0 / 1.354 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/1.459, allocations: 12.84 kB / 1.354 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/1.459, allocations: 0 / 1.354 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/1.459, allocations: 0.5625 kB / 1.354 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/1.459, allocations: 0.7969 kB / 1.354 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.459, allocations: 3.969 kB / 1.354 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/1.459, allocations: 157.8 kB / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.004e-05/1.459, allocations: 81.64 kB / 1.354 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/1.459, allocations: 0.75 kB / 1.354 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/1.459, allocations: 5.781 kB / 1.354 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/1.459, allocations: 8.797 kB / 1.354 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/1.459, allocations: 7 kB / 1.354 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.686e-05/1.459, allocations: 93.23 kB / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.459, allocations: 0 / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002037/1.459, allocations: 7.844 kB / 1.354 GB, free: 31.95 MB / 0.8386 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.457e-05/1.459, allocations: 95.91 kB / 1.354 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.425e-05/1.46, allocations: 26.72 kB / 1.354 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/1.46, allocations: 0 / 1.354 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.511e-05/1.46, allocations: 15.55 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/1.46, allocations: 8.422 kB / 1.354 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001838/1.46, allocations: 80.91 kB / 1.355 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/1.46, allocations: 0.6884 MB / 1.355 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.457e-05/1.46, allocations: 4.734 kB / 1.355 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/1.46, allocations: 12.86 kB / 1.355 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.46, allocations: 0 / 1.355 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of Templates: time 0.002312/1.463, allocations: 0.5476 MB / 1.356 GB, free: 31.02 MB / 0.8386 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","../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches