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.001605/0.001605, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002181/0.002181, allocations: 198 kB / 16.54 MB, free: 6.672 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.461/1.461, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.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.616/2.616, allocations: 390.2 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001578, allocations: 67.89 kB / 0.8125 GB, free: 14.42 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.834/0.8356, allocations: 140.4 MB / 0.9496 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Round): time 0.002007/0.8376, allocations: 0.7521 MB / 0.9503 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008295/0.8385, allocations: 0.8394 MB / 0.9512 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.553e-05/0.8386, allocations: 1.375 kB / 0.9512 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.045e-05/0.8386, allocations: 11.86 kB / 0.9512 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.193e-05/0.8387, allocations: 5.312 kB / 0.9512 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.8389, allocations: 28.03 kB / 0.9512 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.839, allocations: 68.72 kB / 0.9513 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.8391, allocations: 33.53 kB / 0.9513 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.432e-05/0.8392, allocations: 30.91 kB / 0.9513 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.8393, allocations: 37.47 kB / 0.9514 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.8393, allocations: 6.875 kB / 0.9514 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.902e-05/0.8394, allocations: 6.875 kB / 0.9514 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.529e-05/0.8394, allocations: 13.3 kB / 0.9514 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.994e-05/0.8394, allocations: 41.28 kB / 0.9514 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.8395, allocations: 72.12 kB / 0.9515 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.8396, allocations: 0 / 0.9515 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8396, allocations: 0 / 0.9515 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.8396, allocations: 1.375 kB / 0.9515 GB, free: 7.578 MB / 0.7169 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.0004908/0.8401, allocations: 376.5 kB / 0.9519 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.8401, allocations: 13.73 kB / 0.9519 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.8402, allocations: 5.219 kB / 0.9519 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.8403, allocations: 180 kB / 0.952 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.8403, allocations: 7.188 kB / 0.9521 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.8403, allocations: 3.531 kB / 0.9521 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.8405, allocations: 82.27 kB / 0.9521 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.8405, allocations: 5.297 kB / 0.9521 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.8406, allocations: 3.938 kB / 0.9521 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.8406, allocations: 1.125 kB / 0.9521 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.8408, allocations: 71.12 kB / 0.9522 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.8413, allocations: 326.2 kB / 0.9525 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.8415, allocations: 84.06 kB / 0.9526 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.8416, allocations: 47.23 kB / 0.9527 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.8417, allocations: 4 kB / 0.9527 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.8417, allocations: 31.81 kB / 0.9527 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.8417, allocations: 0 / 0.9527 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004519/0.8422, allocations: 130.6 kB / 0.9528 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.8422, allocations: 52.88 kB / 0.9529 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.217e-05/0.8423, allocations: 121.9 kB / 0.953 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.8423, allocations: 29.7 kB / 0.953 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.034e-05/0.8423, allocations: 102.2 kB / 0.9531 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.8424, allocations: 15.22 kB / 0.9531 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.8424, allocations: 17.58 kB / 0.9531 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.598e-05/0.8425, allocations: 320.2 kB / 0.9534 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.8426, allocations: 36.62 kB / 0.9535 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.8427, allocations: 32.16 kB / 0.9535 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.8429, allocations: 69.38 kB / 0.9536 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.8429, allocations: 5.219 kB / 0.9536 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000264/0.8432, allocations: 101.5 kB / 0.9537 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.8432, allocations: 6.281 kB / 0.9537 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.8432, allocations: 3.938 kB / 0.9537 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.8432, allocations: 0 / 0.9537 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.8434, allocations: 23.2 kB / 0.9537 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.8434, allocations: 5.297 kB / 0.9537 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.846e-05/0.8435, allocations: 12.2 kB / 0.9537 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.8435, allocations: 1.312 kB / 0.9537 GB, free: 5.48 MB / 0.7169 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 6.241e-05/0.8436, allocations: 120.8 kB / 0.9538 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.8436, allocations: 7.188 kB / 0.9538 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.8436, allocations: 10.03 kB / 0.9539 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.8436, allocations: 3.984 kB / 0.9539 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.8437, allocations: 5.344 kB / 0.9539 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.8437, allocations: 112 / 0.9539 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.8438, allocations: 197.8 kB / 0.9541 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.8438, allocations: 0 / 0.9541 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.8439, allocations: 15.98 kB / 0.9541 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.844, allocations: 0 / 0.9541 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.844, allocations: 5.25 kB / 0.9541 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.844, allocations: 0 / 0.9541 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.844, allocations: 4.953 kB / 0.9541 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.8443, allocations: 210.2 kB / 0.9543 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.702e-05/0.8443, allocations: 82.48 kB / 0.9544 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.8444, allocations: 1.375 kB / 0.9544 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.8445, allocations: 6.672 kB / 0.9544 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.8445, allocations: 13.33 kB / 0.9544 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.8446, allocations: 5.5 kB / 0.9544 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.746e-05/0.8446, allocations: 101.5 kB / 0.9545 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8446, allocations: 4 kB / 0.9545 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002218/0.8448, allocations: 10.69 kB / 0.9545 GB, free: 4.711 MB / 0.7169 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.0001368/0.845, allocations: 97.38 kB / 0.9546 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003094/0.8453, allocations: 88.44 kB / 0.9547 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.8453, allocations: 0 / 0.9547 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.8454, allocations: 40.34 kB / 0.9547 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.8458, allocations: 11.75 kB / 0.9547 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004643/0.8463, allocations: 166.2 kB / 0.9549 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.8464, allocations: 0.7017 MB / 0.9556 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.493e-05/0.8465, allocations: 4.125 kB / 0.9556 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.784e-05/0.8465, allocations: 20.42 kB / 0.9556 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8466, allocations: 0 / 0.9556 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of Templates: time 0.003552/0.8501, allocations: 1.22 MB / 0.9568 GB, free: 3.062 MB / 0.7169 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