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/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_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.184/2.184, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001453/0.001453, allocations: 180.5 kB / 487.4 MB, free: 5.059 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.481/1.481, allocations: 221.5 MB / 0.7824 GB, free: 1.012 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.0009118/0.0009123, allocations: 102.3 kB / 0.9219 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.008e-05/2.011e-05, allocations: 5.875 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3171, allocations: 142.3 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/1.396, allocations: 148.4 MB / 1.351 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/1.396, allocations: 64.67 kB / 1.351 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004326/1.401, allocations: 1.089 MB / 1.352 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.843e-06/1.401, allocations: 0 / 1.352 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.483e-05/1.401, allocations: 1.188 kB / 1.352 GB, free: 34.08 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.0004733/1.401, allocations: 354.4 kB / 1.352 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/1.401, allocations: 9.25 kB / 1.352 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.825e-05/1.401, allocations: 4.438 kB / 1.352 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/1.402, allocations: 185.4 kB / 1.352 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/1.402, allocations: 1.25 kB / 1.352 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/1.402, allocations: 2.594 kB / 1.352 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.989e-05/1.402, allocations: 22.25 kB / 1.353 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/1.402, allocations: 52.53 kB / 1.353 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/1.402, allocations: 5.766 kB / 1.353 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/1.402, allocations: 0 / 1.353 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/1.402, allocations: 1.312 kB / 1.353 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/1.402, allocations: 282.5 kB / 1.353 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/1.403, allocations: 71.41 kB / 1.353 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/1.403, allocations: 14.44 kB / 1.353 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/1.403, allocations: 4 kB / 1.353 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/1.403, allocations: 35.84 kB / 1.353 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.724e-06/1.403, allocations: 0 / 1.353 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001962/1.403, allocations: 53.16 kB / 1.353 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/1.403, allocations: 52.06 kB / 1.353 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/1.403, allocations: 109.1 kB / 1.353 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/1.403, allocations: 27.34 kB / 1.353 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.886e-05/1.403, allocations: 101.1 kB / 1.353 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/1.403, allocations: 6.484 kB / 1.353 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-06/1.403, allocations: 0 / 1.353 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001626/1.403, allocations: 321.6 kB / 1.354 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.469e-05/1.404, allocations: 8.656 kB / 1.354 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.81e-05/1.404, allocations: 26.3 kB / 1.354 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.219e-05/1.404, allocations: 8.531 kB / 1.354 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.404, allocations: 0 / 1.354 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001187/1.404, allocations: 57.06 kB / 1.354 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.404, allocations: 5.312 kB / 1.354 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.404, allocations: 0 / 1.354 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/1.404, allocations: 2.062 kB / 1.354 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.268e-05/1.404, allocations: 10.61 kB / 1.354 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/1.404, allocations: 1.312 kB / 1.354 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.375e-05/1.404, allocations: 15.92 kB / 1.354 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/1.404, allocations: 0.7969 kB / 1.354 GB, free: 32.46 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.shaT.hys.y,shaT.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 8.321e-05/1.404, allocations: 111.6 kB / 1.354 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/1.404, allocations: 7.328 kB / 1.354 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.66e-05/1.404, allocations: 9.906 kB / 1.354 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.404, allocations: 0.5156 kB / 1.354 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.404, allocations: 5.266 kB / 1.354 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/1.404, allocations: 0.5156 kB / 1.354 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/1.404, allocations: 156.7 kB / 1.354 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.404, allocations: 0.75 kB / 1.354 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.573e-05/1.404, allocations: 5.203 kB / 1.354 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/1.404, allocations: 7.938 kB / 1.354 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/1.404, allocations: 0.6562 kB / 1.354 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/1.404, allocations: 4.438 kB / 1.354 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.404, allocations: 0 / 1.354 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/1.405, allocations: 154.9 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/1.405, allocations: 85.45 kB / 1.354 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/1.405, allocations: 0 / 1.354 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.699e-05/1.405, allocations: 14.12 kB / 1.354 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/1.405, allocations: 4.266 kB / 1.354 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/1.405, allocations: 7.297 kB / 1.354 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.004e-05/1.405, allocations: 91.95 kB / 1.354 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.11e-07/1.405, allocations: 0 / 1.354 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002381/1.405, allocations: 7.656 kB / 1.354 GB, free: 31.84 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 (shaT.hys.y) * Number of discrete states: 1 (shaT.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 0.0001115/1.405, allocations: 95.95 kB / 1.354 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001137/1.405, allocations: 28.03 kB / 1.354 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.405, allocations: 0 / 1.354 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.875e-05/1.405, allocations: 16.17 kB / 1.354 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/1.406, allocations: 9.719 kB / 1.355 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000267/1.406, allocations: 80.25 kB / 1.355 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/1.406, allocations: 0.6881 MB / 1.355 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.9e-05/1.406, allocations: 8.641 kB / 1.355 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/1.406, allocations: 8.234 kB / 1.355 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.406, allocations: 0 / 1.355 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of Templates: time 0.002797/1.409, allocations: 0.5349 MB / 1.356 GB, free: 30.92 MB / 0.8386 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","../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches