Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Continuous.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 107.5 kB / 16.41 MB, free: 6.508 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.001342/0.001342, allocations: 187 kB / 17.34 MB, free: 5.742 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.483/1.483, allocations: 222.9 MB / 241 MB, free: 15.15 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.253/2.253, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 67.91 kB / 0.9516 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8803/0.8817, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.001827/0.8836, allocations: 0.7084 MB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008196/0.8845, allocations: 0.8001 MB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.408e-05/0.8845, allocations: 3.938 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.8845, allocations: 5.25 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.478e-05/0.8846, allocations: 4.5 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.614e-05/0.8847, allocations: 15.8 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.438e-05/0.8848, allocations: 45.03 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.8849, allocations: 10.14 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.402e-05/0.885, allocations: 21.88 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.104e-05/0.885, allocations: 22.12 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.8851, allocations: 4.25 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.343e-05/0.8851, allocations: 3.406 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.8851, allocations: 11.06 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.8851, allocations: 18.2 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.961e-05/0.8852, allocations: 36.94 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.8852, allocations: 4 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8852, allocations: 0 / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.8853, allocations: 0 / 1.09 GB, free: 4.352 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004597/0.8857, allocations: 364.3 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.8858, allocations: 9.938 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.8858, allocations: 7.094 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.604e-05/0.8859, allocations: 170.1 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.8859, allocations: 5.719 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.8859, allocations: 1.688 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.8862, allocations: 76.64 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.8862, allocations: 1.766 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.8862, allocations: 3.938 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.8862, allocations: 0.75 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.8865, allocations: 66.73 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.8869, allocations: 270.1 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.8871, allocations: 64.16 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.8873, allocations: 44.84 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.8873, allocations: 1.156 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.8873, allocations: 31.17 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.8873, allocations: 0.9688 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005997/0.8879, allocations: 128.6 kB / 1.092 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.888, allocations: 52.78 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.391e-05/0.888, allocations: 106.5 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.8881, allocations: 30.52 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/0.8881, allocations: 87.34 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.8881, allocations: 17.86 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.8882, allocations: 13.66 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.579e-05/0.8882, allocations: 321.3 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.8884, allocations: 30.62 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.8885, allocations: 32.14 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/0.8888, allocations: 66.09 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.8888, allocations: 9.922 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003428/0.8892, allocations: 102.6 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.8892, allocations: 4.812 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.8892, allocations: 0.7031 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.8892, allocations: 0 / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.8894, allocations: 19.92 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.8894, allocations: 1.156 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.577e-05/0.8895, allocations: 15.41 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.8895, allocations: 0.75 kB / 1.092 GB, free: 2.562 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 5.021e-05/0.8896, allocations: 113.6 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.8896, allocations: 9.469 kB / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004061/0.89, allocations: 105.1 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.89, allocations: 0 / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.89, allocations: 1.344 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.89, allocations: 0.6094 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.8902, allocations: 170.7 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.8902, allocations: 0 / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.8903, allocations: 19.94 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.8903, allocations: 0.7188 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.8903, allocations: 0 / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.8903, allocations: 1.344 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.8903, allocations: 8.719 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.8907, allocations: 194.5 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.115e-05/0.8907, allocations: 86.5 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.8908, allocations: 1.578 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.8909, allocations: 15 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.8909, allocations: 8.062 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.891, allocations: 1.234 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.569e-05/0.891, allocations: 88.48 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.891, allocations: 0 / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002304/0.8912, allocations: 6.188 kB / 1.093 GB, free: 1.844 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: 0 () * Number of discrete states: 0 () * 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.0001523/0.8914, allocations: 99.36 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003701/0.8918, allocations: 75.19 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.8918, allocations: 0 / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.8919, allocations: 34.88 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.8923, allocations: 20.89 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.8926, allocations: 139.4 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.8927, allocations: 0.6809 MB / 1.094 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.8927, allocations: 9.656 kB / 1.094 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of SimCode: time 1.002e-06/0.8927, allocations: 0 / 1.094 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of Templates: time 0.002213/0.895, allocations: 0.7474 MB / 1.095 GB, free: 0.8359 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches