Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 105.3 kB / 16.41 MB, free: 6.488 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.001676/0.001676, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.471/1.471, allocations: 222.9 MB / 241 MB, free: 15.16 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.373/2.373, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 59.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7798/0.7811, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001797/0.783, allocations: 0.6009 MB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.7843, allocations: 1.114 MB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.683e-05/0.7843, allocations: 1.25 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.792e-05/0.7844, allocations: 0 / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.667e-05/0.7844, allocations: 5.891 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.7849, allocations: 125 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.7851, allocations: 93.78 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.745e-05/0.7852, allocations: 5.172 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.791e-05/0.7852, allocations: 33.5 kB / 1.091 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.7853, allocations: 39.11 kB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.7854, allocations: 7.406 kB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.856e-05/0.7855, allocations: 21.78 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.7855, allocations: 2.672 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.7856, allocations: 30.84 kB / 1.091 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.7858, allocations: 82.05 kB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.7858, allocations: 0 / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.385e-06/0.7858, allocations: 1.156 kB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.7858, allocations: 0 / 1.091 GB, free: 4.129 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000461/0.7862, allocations: 380.2 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.7863, allocations: 11.12 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.7864, allocations: 3.781 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.846e-05/0.7864, allocations: 164.5 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.7865, allocations: 1.844 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.7865, allocations: 13.55 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.7866, allocations: 43 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.7866, allocations: 192 / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.7866, allocations: 4.688 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.7866, allocations: 1.594 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.226e-05/0.7867, allocations: 3.219 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.787, allocations: 286.4 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.836e-05/0.7871, allocations: 26.97 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.562e-05/0.7871, allocations: 8.438 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.62e-06/0.7871, allocations: 3.938 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.7872, allocations: 65.91 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.7873, allocations: 0 / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001837/0.7874, allocations: 61.73 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.7875, allocations: 56.56 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.293e-05/0.7875, allocations: 108.9 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.7876, allocations: 32.05 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.7876, allocations: 83.89 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.191e-05/0.7876, allocations: 9.531 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.305e-05/0.7877, allocations: 28.66 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.7877, allocations: 315.1 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.229e-05/0.7878, allocations: 26 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.002e-05/0.7879, allocations: 53.19 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.788, allocations: 79.72 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.788, allocations: 4.625 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002652/0.7883, allocations: 142.2 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/0.7883, allocations: 39.59 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.7884, allocations: 1.281 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.7884, allocations: 5 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.925e-05/0.7884, allocations: 6.359 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.7884, allocations: 1.312 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.7886, allocations: 30.5 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.7887, allocations: 10.58 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 6.155e-05/0.7887, allocations: 119.1 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.7887, allocations: 1.844 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.155e-05/0.7888, allocations: 9.812 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.7888, allocations: 0.9688 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.7888, allocations: 0 / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.7888, allocations: 1.797 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.355e-05/0.7889, allocations: 160.5 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.7889, allocations: 0.9062 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.721e-06/0.7889, allocations: 0.7969 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.7889, allocations: 0.9688 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.7889, allocations: 9.734 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.7889, allocations: 7.922 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.7889, allocations: 5.25 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.463e-05/0.789, allocations: 79.91 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.789, allocations: 82.88 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.789, allocations: 1.891 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.481e-05/0.7891, allocations: 0 / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.7891, allocations: 7.781 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.7891, allocations: 1.406 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.455e-05/0.7891, allocations: 81.91 kB / 1.093 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7891, allocations: 4 kB / 1.093 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002226/0.7894, allocations: 19.42 kB / 1.093 GB, free: 1.559 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001249/0.7895, allocations: 100.3 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000207/0.7897, allocations: 119.5 kB / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7897, allocations: 0 / 1.093 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.467e-05/0.7898, allocations: 13.19 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.79, allocations: 19.73 kB / 1.094 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002528/0.7902, allocations: 151.8 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.518e-05/0.7903, allocations: 0.6777 MB / 1.094 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.7904, allocations: 10.12 kB / 1.094 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of SimCode: time 3.41e-07/0.7904, allocations: 0 / 1.094 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of Templates: time 0.002671/0.793, allocations: 0.896 MB / 1.095 GB, free: 444 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches