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.01152/0.01152, allocations: 99.59 kB / 15.73 MB, free: 6.008 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.001977/0.001977, allocations: 196.3 kB / 16.67 MB, free: 5.934 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.315/2.315, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001304, allocations: 63.89 kB / 0.9508 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9763/0.9776, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002053/0.9797, allocations: 0.7007 MB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.9809, allocations: 0.846 MB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.666e-05/0.9809, allocations: 0 / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.735e-05/0.981, allocations: 5.703 kB / 1.089 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.9811, allocations: 6.75 kB / 1.089 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.9813, allocations: 32.22 kB / 1.089 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.9815, allocations: 57.12 kB / 1.089 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.9817, allocations: 19.3 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.9818, allocations: 33.17 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.9819, allocations: 24.47 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.9819, allocations: 5.438 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.685e-05/0.9819, allocations: 5.438 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.14e-05/0.982, allocations: 20.23 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.242e-05/0.982, allocations: 24.84 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.9822, allocations: 68.97 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.9823, allocations: 0 / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.595e-06/0.9823, allocations: 1.312 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.9823, allocations: 0 / 1.09 GB, free: 4.258 MB / 0.8575 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.0006163/0.9829, allocations: 364.6 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.983, allocations: 9.453 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.983, allocations: 8.047 kB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.9833, allocations: 195.7 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.9833, allocations: 3.156 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.9833, allocations: 6.469 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.9835, allocations: 64.05 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.9835, allocations: 192 / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.9836, allocations: 3.938 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.9836, allocations: 1.891 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.9837, allocations: 33.78 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.9842, allocations: 300.4 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.9845, allocations: 71.53 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.041e-05/0.9846, allocations: 18.23 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.9846, allocations: 9.609 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.9847, allocations: 36.42 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.9847, allocations: 0 / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002867/0.985, allocations: 70.56 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.985, allocations: 52.22 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.9851, allocations: 131.7 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.9851, allocations: 26.45 kB / 1.091 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.9852, allocations: 101.7 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.9852, allocations: 6.625 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.9853, allocations: 18.47 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.637e-05/0.9854, allocations: 319.2 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.085e-05/0.9854, allocations: 14.48 kB / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.508e-05/0.9855, allocations: 31.17 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.778e-05/0.9856, allocations: 30.47 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.9856, allocations: 0 / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001515/0.9858, allocations: 69.55 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.9858, allocations: 10.05 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.9858, allocations: 1.031 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.9859, allocations: 0 / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.524e-05/0.9859, allocations: 7.109 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.9859, allocations: 0 / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.876e-05/0.986, allocations: 12.33 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.986, allocations: 1.125 kB / 1.092 GB, free: 2.418 MB / 0.8575 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.761e-05/0.9861, allocations: 119.7 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.9862, allocations: 6.875 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/0.9862, allocations: 9.797 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.9862, allocations: 1.156 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.9862, allocations: 0 / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.9862, allocations: 1.672 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.9864, allocations: 177.6 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.9864, allocations: 4 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.654e-05/0.9865, allocations: 6.594 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.9865, allocations: 5.375 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.9865, allocations: 0.5156 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.9865, allocations: 0.7031 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.9865, allocations: 1.375 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.9867, allocations: 157.8 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/0.9867, allocations: 83.81 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.9868, allocations: 1.906 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.018e-05/0.9869, allocations: 5.969 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.9869, allocations: 14.56 kB / 1.092 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.9869, allocations: 5.875 kB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.566e-05/0.987, allocations: 92.92 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.987, allocations: 0 / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000231/0.9873, allocations: 7.562 kB / 1.092 GB, free: 1.738 MB / 0.8575 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.0001191/0.9874, allocations: 100.3 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002062/0.9876, allocations: 44.86 kB / 1.092 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.9876, allocations: 0.75 kB / 1.092 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.652e-05/0.9877, allocations: 13.41 kB / 1.092 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.988, allocations: 11.75 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.9884, allocations: 165.9 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.9886, allocations: 0.6884 MB / 1.093 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.658e-05/0.9886, allocations: 4.312 kB / 1.093 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.9887, allocations: 11.34 kB / 1.093 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.9887, allocations: 0 / 1.093 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of Templates: time 0.003744/0.9924, allocations: 0.7105 MB / 1.094 GB, free: 0.6875 MB / 0.8575 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