Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.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.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01211/0.01212, allocations: 98.64 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.002199/0.002199, allocations: 193.4 kB / 16.67 MB, free: 5.93 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.565/1.565, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.333/2.333, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.91 kB / 0.9509 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.02, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Round): time 0.002506/1.022, allocations: 0.7638 MB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001201/1.023, allocations: 0.8376 MB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/1.023, allocations: 1.094 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.069e-05/1.024, allocations: 9 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/1.024, allocations: 10.2 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/1.024, allocations: 26.36 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001428/1.024, allocations: 74 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/1.024, allocations: 23.73 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/1.024, allocations: 27.88 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.763e-05/1.024, allocations: 41.09 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/1.024, allocations: 6.219 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.91e-05/1.024, allocations: 6.812 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.312e-05/1.025, allocations: 22.31 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/1.025, allocations: 29.31 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/1.025, allocations: 78.84 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/1.025, allocations: 4.969 kB / 1.09 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.765e-06/1.025, allocations: 0 / 1.09 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.795e-06/1.025, allocations: 0 / 1.09 GB, free: 4.195 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006183/1.025, allocations: 376 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.025, allocations: 9.938 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.17e-05/1.026, allocations: 8.828 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/1.026, allocations: 175.5 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/1.026, allocations: 2.531 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/1.026, allocations: 7.469 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/1.026, allocations: 91.64 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/1.026, allocations: 4.188 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/1.026, allocations: 3.938 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/1.026, allocations: 6.281 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/1.026, allocations: 66.8 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004991/1.027, allocations: 328.3 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/1.027, allocations: 87.39 kB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/1.027, allocations: 37.7 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/1.027, allocations: 5.016 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/1.027, allocations: 32.36 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/1.027, allocations: 4 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004916/1.028, allocations: 133 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/1.028, allocations: 57.48 kB / 1.091 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.314e-05/1.028, allocations: 122.7 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/1.028, allocations: 25.7 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/1.028, allocations: 97.47 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/1.028, allocations: 27.95 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/1.028, allocations: 20.53 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.59e-05/1.028, allocations: 323 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/1.028, allocations: 26.19 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/1.028, allocations: 31.92 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/1.029, allocations: 65.89 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.029, allocations: 4 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003232/1.029, allocations: 102.1 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.029, allocations: 9.922 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/1.029, allocations: 0.625 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/1.029, allocations: 0.5312 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/1.029, allocations: 21.47 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/1.029, allocations: 0 / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.259e-05/1.029, allocations: 10.72 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/1.029, allocations: 6.672 kB / 1.092 GB, free: 2.277 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 (6): * Single equations (assignments): 6 * 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 7.785e-05/1.029, allocations: 117.2 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/1.029, allocations: 7.625 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.115e-05/1.029, allocations: 10.67 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.03, allocations: 1.781 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/1.03, allocations: 0.5156 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/1.03, allocations: 0 / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/1.03, allocations: 199.2 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.03, allocations: 0 / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/1.03, allocations: 20.64 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/1.03, allocations: 4.672 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/1.03, allocations: 1.984 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/1.03, allocations: 0.9375 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/1.03, allocations: 0 / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/1.03, allocations: 203 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/1.03, allocations: 87.7 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/1.03, allocations: 1.234 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/1.03, allocations: 11.56 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/1.03, allocations: 12.11 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/1.03, allocations: 2.531 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.175e-05/1.031, allocations: 93.58 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.031, allocations: 0 / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000236/1.031, allocations: 14.19 kB / 1.093 GB, free: 1.578 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 (6): * Single equations (assignments): 6 * 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.0001537/1.031, allocations: 106.4 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003157/1.031, allocations: 79.38 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/1.031, allocations: 0 / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/1.031, allocations: 40.16 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/1.032, allocations: 19.5 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004605/1.032, allocations: 168.7 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/1.032, allocations: 0.6912 MB / 1.094 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.369e-05/1.032, allocations: 9.797 kB / 1.094 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/1.033, allocations: 19.2 kB / 1.094 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/1.033, allocations: 0 / 1.094 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of Templates: time 0.005079/1.038, allocations: 1.235 MB / 1.095 GB, free: 492 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches