Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001659/0.001659, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001671/0.001671, allocations: 197.1 kB / 16.14 MB, free: 6.633 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.577/1.577, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.9/2.9, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002615/0.002615, allocations: 75.81 kB / 0.8686 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7735/0.7762, allocations: 151.6 MB / 1.017 GB, free: 2.977 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002226/0.7785, allocations: 0.7769 MB / 1.017 GB, free: 2.203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.7796, allocations: 0.839 MB / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.354e-05/0.7796, allocations: 0 / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.965e-05/0.7797, allocations: 3.984 kB / 1.018 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.7798, allocations: 7.938 kB / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.78, allocations: 19.92 kB / 1.018 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.7801, allocations: 63.73 kB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.7803, allocations: 23.95 kB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.7804, allocations: 27.92 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.186e-05/0.7805, allocations: 19.86 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.7805, allocations: 4 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.812e-05/0.7805, allocations: 4 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/0.7806, allocations: 7.984 kB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.7806, allocations: 31.86 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.7808, allocations: 57.89 kB / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.7808, allocations: 0 / 1.018 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7808, allocations: 3.938 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.7808, allocations: 0 / 1.018 GB, free: 1.082 MB / 0.7637 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.0006237/0.7814, allocations: 371.2 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.7815, allocations: 8.031 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.7815, allocations: 4.938 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.7818, allocations: 196.2 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.7818, allocations: 4.375 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.7819, allocations: 8.375 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.782, allocations: 54.23 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.7821, allocations: 192 / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.7821, allocations: 3.938 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.7821, allocations: 0 / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.7822, allocations: 43.84 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/0.7827, allocations: 296.7 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.783, allocations: 70.52 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.8e-05/0.7831, allocations: 20.86 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.7831, allocations: 4 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.7831, allocations: 30.56 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.7832, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002692/0.7834, allocations: 73.66 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.7835, allocations: 51.41 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.7836, allocations: 117.8 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.7836, allocations: 33.7 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.993e-05/0.7837, allocations: 96.06 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.7837, allocations: 7.906 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.7838, allocations: 17.72 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.784, allocations: 318.8 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.845e-05/0.784, allocations: 15.94 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.669e-05/0.7841, allocations: 33.7 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.853e-05/0.7842, allocations: 28.88 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7842, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001444/0.7843, allocations: 69.91 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.7844, allocations: 9.031 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.7844, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.7844, allocations: 0 / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.642e-05/0.7845, allocations: 11.92 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.7845, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.465e-05/0.7846, allocations: 16 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.7846, allocations: 0 / 1.02 GB, free: 14.88 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 (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 0.0001101/0.7847, allocations: 126.5 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.7847, allocations: 7.906 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.7847, allocations: 3.906 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.7848, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.7848, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.7848, allocations: 3.938 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.785, allocations: 185.6 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.785, allocations: 4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.785, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.7851, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.7851, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.7851, allocations: 3.984 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.7851, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.7853, allocations: 155.4 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-05/0.7854, allocations: 85.02 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.7854, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.56e-05/0.7855, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.7855, allocations: 11.98 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.7855, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.599e-05/0.7856, allocations: 95.27 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7856, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002202/0.7858, allocations: 8 kB / 1.021 GB, free: 14.09 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 (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.0001231/0.786, allocations: 111.2 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001623/0.7861, allocations: 27.98 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7861, allocations: 4 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.445e-05/0.7862, allocations: 15.92 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.7865, allocations: 11.94 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.7869, allocations: 177.8 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.7873, allocations: 0.6809 MB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.138e-05/0.7873, allocations: 11.89 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.7874, allocations: 7.438 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.7874, allocations: 8 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of Templates: time 0.003268/0.7906, allocations: 0.6117 MB / 1.023 GB, free: 12.37 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches