Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001358/0.001359, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001476/0.001476, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.833/2.833, allocations: 436.5 MB / 0.7104 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004066/0.0004066, allocations: 8 kB / 0.8708 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7789/0.7793, allocations: 153.7 MB / 1.021 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.0009724/0.7804, allocations: 420.9 kB / 1.021 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009931/0.7814, allocations: 0.8313 MB / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.7814, allocations: 4 kB / 1.022 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.7815, allocations: 0 / 1.022 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.7816, allocations: 15.97 kB / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.7817, allocations: 19.86 kB / 1.022 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.512e-05/0.7818, allocations: 35.95 kB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.7819, allocations: 19.97 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.5e-05/0.782, allocations: 19.92 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.837e-05/0.7821, allocations: 27.84 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.7822, allocations: 0 / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.497e-05/0.7822, allocations: 4 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.7822, allocations: 11.92 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.7823, allocations: 37.64 kB / 1.022 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.702e-05/0.7823, allocations: 39.89 kB / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.7824, allocations: 0 / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.497e-06/0.7824, allocations: 4 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.7824, allocations: 0 / 1.022 GB, free: 15.73 MB / 0.7794 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.0004981/0.7829, allocations: 357.3 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.7829, allocations: 23.97 kB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.783, allocations: 3.906 kB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.7833, allocations: 191 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.7833, allocations: 4 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.7833, allocations: 7.953 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.7835, allocations: 57.67 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.7835, allocations: 0 / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.7835, allocations: 7.938 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.7835, allocations: 0 / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.7836, allocations: 31.98 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.7841, allocations: 308.7 kB / 1.023 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.7844, allocations: 82.47 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.7844, allocations: 8.062 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.7845, allocations: 30.56 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.7845, allocations: 0 / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002591/0.7847, allocations: 69.77 kB / 1.023 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.7848, allocations: 59.39 kB / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.017e-05/0.7849, allocations: 121.8 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.7849, allocations: 33.7 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.785, allocations: 92.06 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.785, allocations: 15.91 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.785, allocations: 0 / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.7851, allocations: 318.8 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.276e-05/0.7852, allocations: 19.98 kB / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.125e-05/0.7853, allocations: 37.89 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.763e-05/0.7853, allocations: 12.08 kB / 1.024 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.7853, allocations: 0 / 1.024 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001341/0.7855, allocations: 69.58 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.7855, allocations: 4 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.7855, allocations: 4 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.7855, allocations: 4.031 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.915e-05/0.7856, allocations: 7.984 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.7856, allocations: 7.922 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.942e-05/0.7857, allocations: 12 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.7857, allocations: 4 kB / 1.024 GB, free: 13.55 MB / 0.7794 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.591e-05/0.7858, allocations: 125.7 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.7858, allocations: 3.906 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.7859, allocations: 11.91 kB / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.7859, allocations: 0 / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7859, allocations: 0 / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.7859, allocations: 0 / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.7861, allocations: 181.6 kB / 1.024 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.7861, allocations: 3.938 kB / 1.024 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.7861, allocations: 4 kB / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7861, allocations: 0 / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.7861, allocations: 0 / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.7861, allocations: 0 / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.7861, allocations: 8 kB / 1.024 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.7863, allocations: 159.5 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.7864, allocations: 92.95 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.7864, allocations: 0 / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.7865, allocations: 4 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.035e-05/0.7865, allocations: 15.98 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.7865, allocations: 7.984 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.159e-05/0.7866, allocations: 87.28 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.7866, allocations: 0 / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002157/0.7868, allocations: 8 kB / 1.025 GB, free: 12.75 MB / 0.7794 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 (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.0001169/0.787, allocations: 103.2 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001577/0.7871, allocations: 35.98 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.7871, allocations: 0 / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.375e-05/0.7872, allocations: 19.92 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.7874, allocations: 11.94 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.7878, allocations: 176.7 kB / 1.025 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.7881, allocations: 0.6926 MB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.28e-05/0.7881, allocations: 0 / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.7882, allocations: 15.38 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.7882, allocations: 0 / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of Templates: time 0.002946/0.7911, allocations: 0.5856 MB / 1.026 GB, free: 11.06 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches