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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.425/1.425, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.454/2.454, allocations: 390.2 MB / 0.6647 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.91 kB / 0.8125 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8394/0.8407, allocations: 140.4 MB / 0.9496 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002215/0.8429, allocations: 0.7003 MB / 0.9503 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009186/0.8439, allocations: 0.8459 MB / 0.9511 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.8439, allocations: 0 / 0.9511 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.895e-05/0.844, allocations: 7.875 kB / 0.9511 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.8441, allocations: 5.406 kB / 0.9511 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.8443, allocations: 27.3 kB / 0.9511 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.308e-05/0.8444, allocations: 59.48 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.8445, allocations: 19.83 kB / 0.9512 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.8446, allocations: 34.06 kB / 0.9512 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.376e-05/0.8447, allocations: 23.05 kB / 0.9513 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.8447, allocations: 4.938 kB / 0.9513 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.749e-05/0.8448, allocations: 6.594 kB / 0.9513 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.8448, allocations: 17.92 kB / 0.9513 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.624e-05/0.8448, allocations: 25.12 kB / 0.9513 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.8449, allocations: 66.33 kB / 0.9514 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.845, allocations: 1.094 kB / 0.9514 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.223e-06/0.845, allocations: 0 / 0.9514 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.845, allocations: 4 kB / 0.9514 GB, free: 7.754 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.0004658/0.8454, allocations: 370.2 kB / 0.9517 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.8455, allocations: 8.406 kB / 0.9517 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.8455, allocations: 13.06 kB / 0.9517 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.8458, allocations: 187.5 kB / 0.9519 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.8458, allocations: 1.781 kB / 0.9519 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.8458, allocations: 3.344 kB / 0.9519 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.846, allocations: 63.38 kB / 0.952 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.846, allocations: 4.125 kB / 0.952 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.846, allocations: 5.75 kB / 0.952 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.846, allocations: 0 / 0.952 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.8461, allocations: 32.81 kB / 0.952 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.8465, allocations: 297.2 kB / 0.9523 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.8468, allocations: 78.27 kB / 0.9524 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.131e-05/0.8468, allocations: 16.95 kB / 0.9524 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.8469, allocations: 0 / 0.9524 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.8469, allocations: 31.81 kB / 0.9524 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.8469, allocations: 4 kB / 0.9524 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002451/0.8471, allocations: 70.47 kB / 0.9525 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.8472, allocations: 52.5 kB / 0.9526 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.973e-05/0.8473, allocations: 137.2 kB / 0.9527 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.8473, allocations: 26.67 kB / 0.9527 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.8473, allocations: 95.44 kB / 0.9528 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.8473, allocations: 9.031 kB / 0.9528 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.8474, allocations: 18 kB / 0.9528 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.578e-05/0.8474, allocations: 324 kB / 0.9531 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.189e-05/0.8475, allocations: 11.72 kB / 0.9532 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.9e-05/0.8476, allocations: 28.73 kB / 0.9532 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.233e-05/0.8477, allocations: 29.53 kB / 0.9532 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.8477, allocations: 1.5 kB / 0.9532 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001265/0.8478, allocations: 71.06 kB / 0.9533 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.8478, allocations: 8.938 kB / 0.9533 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.8478, allocations: 0 / 0.9533 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.8479, allocations: 5.219 kB / 0.9533 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.842e-05/0.8479, allocations: 7.734 kB / 0.9533 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.8479, allocations: 1.312 kB / 0.9533 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.797e-05/0.848, allocations: 9.125 kB / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.848, allocations: 1.25 kB / 0.9533 GB, free: 5.805 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 (shaT.hys.y,$PRE.shaT.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.686e-05/0.8481, allocations: 129.6 kB / 0.9534 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.8481, allocations: 1.75 kB / 0.9534 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.8481, allocations: 9.219 kB / 0.9534 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.8482, allocations: 1.375 kB / 0.9534 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.8482, allocations: 0 / 0.9534 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.8482, allocations: 1.531 kB / 0.9534 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.8483, allocations: 179.4 kB / 0.9536 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8483, allocations: 0 / 0.9536 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/0.8484, allocations: 4.156 kB / 0.9536 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.8484, allocations: 0 / 0.9536 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.8484, allocations: 1.062 kB / 0.9536 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.8484, allocations: 5 kB / 0.9536 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.8484, allocations: 3.984 kB / 0.9536 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.8485, allocations: 155 kB / 0.9538 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.8486, allocations: 89.97 kB / 0.9539 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.8486, allocations: 2.094 kB / 0.9539 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.317e-05/0.8487, allocations: 6.844 kB / 0.9539 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.8487, allocations: 12.77 kB / 0.9539 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.8487, allocations: 0 / 0.9539 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.176e-05/0.8488, allocations: 97.52 kB / 0.954 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8488, allocations: 0 / 0.954 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002222/0.849, allocations: 12.34 kB / 0.954 GB, free: 5.082 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 (shaT.hys.y) * Number of discrete states: 1 (shaT.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 0.0001081/0.8491, allocations: 98.53 kB / 0.9541 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001757/0.8493, allocations: 35.61 kB / 0.9541 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8493, allocations: 5.219 kB / 0.9541 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.266e-05/0.8494, allocations: 17.11 kB / 0.9541 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.8497, allocations: 13.47 kB / 0.9541 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003209/0.85, allocations: 151.1 kB / 0.9543 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.8502, allocations: 0.6898 MB / 0.955 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.303e-05/0.8502, allocations: 10.34 kB / 0.955 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.8503, allocations: 10.19 kB / 0.955 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8503, allocations: 0.9375 kB / 0.955 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of Templates: time 0.003086/0.8534, allocations: 0.7075 MB / 0.9557 GB, free: 3.746 MB / 0.7169 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches