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.005249/0.005254, allocations: 104.8 kB / 15.74 MB, free: 5.984 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.001131/0.001131, allocations: 199.1 kB / 16.68 MB, free: 5.91 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.568/1.568, allocations: 222.9 MB / 240.3 MB, free: 15.11 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.521/2.521, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 63.91 kB / 0.9509 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Round): time 0.001981/1.014, allocations: 0.7568 MB / 1.089 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001042/1.015, allocations: 0.8387 MB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.09e-05/1.015, allocations: 0.9375 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.376e-05/1.015, allocations: 6.031 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.521e-05/1.015, allocations: 10.44 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000175/1.015, allocations: 24.77 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/1.015, allocations: 74.84 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/1.015, allocations: 24.61 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.836e-05/1.016, allocations: 31 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.411e-05/1.016, allocations: 41.09 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/1.016, allocations: 6.625 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.55e-05/1.016, allocations: 6.781 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.389e-05/1.016, allocations: 22.05 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/1.016, allocations: 25.62 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/1.016, allocations: 86.97 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.016, allocations: 1.094 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.913e-06/1.016, allocations: 0 / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.284e-06/1.016, allocations: 0 / 1.09 GB, free: 4.219 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.000587/1.017, allocations: 377.3 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.017, allocations: 9.953 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/1.017, allocations: 8.656 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/1.017, allocations: 180.8 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/1.017, allocations: 3.5 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/1.017, allocations: 12.39 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/1.017, allocations: 82.09 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/1.017, allocations: 192 / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/1.017, allocations: 5 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/1.017, allocations: 1.812 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/1.017, allocations: 73.89 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/1.018, allocations: 329.1 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/1.018, allocations: 83.75 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/1.018, allocations: 37.36 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/1.018, allocations: 5.781 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/1.018, allocations: 39.19 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/1.018, allocations: 0 / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0005244/1.019, allocations: 128.9 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/1.019, allocations: 52.95 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.784e-05/1.019, allocations: 118.6 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/1.019, allocations: 31.55 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/1.019, allocations: 97.12 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/1.019, allocations: 23.31 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/1.019, allocations: 21.06 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.333e-05/1.019, allocations: 318.2 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/1.019, allocations: 30.38 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/1.02, allocations: 31.61 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/1.02, allocations: 74.09 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.02, allocations: 0 / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002858/1.02, allocations: 98.27 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/1.02, allocations: 6.172 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.02, allocations: 0 / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/1.02, allocations: 0.75 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/1.02, allocations: 20.23 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/1.02, allocations: 1.484 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.865e-05/1.02, allocations: 14.48 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/1.02, allocations: 2.359 kB / 1.092 GB, free: 2.316 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 8.112e-05/1.021, allocations: 125.5 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/1.021, allocations: 7.266 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/1.021, allocations: 10.73 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/1.021, allocations: 1.391 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/1.021, allocations: 4.812 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/1.021, allocations: 4.688 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/1.021, allocations: 199 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.021, allocations: 4.562 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/1.021, allocations: 16.73 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/1.021, allocations: 0 / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/1.021, allocations: 1.422 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.021, allocations: 0.8125 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.021, allocations: 1.359 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/1.021, allocations: 206 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/1.021, allocations: 83.88 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/1.021, allocations: 1.703 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/1.022, allocations: 5.812 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.921e-05/1.022, allocations: 17.31 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/1.022, allocations: 2.609 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.625e-05/1.022, allocations: 92.64 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.022, allocations: 1.031 kB / 1.093 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002331/1.022, allocations: 9.188 kB / 1.093 GB, free: 1.609 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.0001659/1.022, allocations: 111.8 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003199/1.022, allocations: 74.86 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/1.022, allocations: 0 / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/1.023, allocations: 44.22 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/1.023, allocations: 7.578 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004964/1.023, allocations: 177.1 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/1.024, allocations: 0.6881 MB / 1.094 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.9e-05/1.024, allocations: 13.98 kB / 1.094 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.927e-05/1.024, allocations: 18.34 kB / 1.094 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/1.024, allocations: 0 / 1.094 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of Templates: time 0.004302/1.028, allocations: 1.229 MB / 1.095 GB, free: 0.5195 MB / 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