Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 108.7 kB / 16.41 MB, free: 6.492 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.001113/0.001113, allocations: 185.5 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.265/1.265, 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 11.0.1-master/package.mo): time 2.469/2.469, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.91 kB / 1.055 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7296/0.731, allocations: 157.4 MB / 1.208 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001904/0.7329, allocations: 0.7647 MB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000979/0.734, allocations: 0.8429 MB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.734, allocations: 3.938 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.322e-05/0.7341, allocations: 7.875 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.682e-05/0.7342, allocations: 7.938 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.7343, allocations: 35.88 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.7344, allocations: 71.84 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.7346, allocations: 19.98 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.634e-05/0.7347, allocations: 35.84 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.287e-05/0.7347, allocations: 35.89 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.7348, allocations: 8 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.575e-05/0.7348, allocations: 11.94 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.7348, allocations: 11.98 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.7349, allocations: 35.73 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.735, allocations: 79.73 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.735, allocations: 0 / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.304e-06/0.735, allocations: 0 / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.735, allocations: 0 / 1.21 GB, free: 11.76 MB / 0.9356 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.0005663/0.7356, allocations: 369.1 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.7356, allocations: 8.031 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.7357, allocations: 12.84 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.7358, allocations: 180.2 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.7358, allocations: 4.375 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.7359, allocations: 8.375 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.7361, allocations: 86.08 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.7361, allocations: 192 / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.7361, allocations: 3.938 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.7361, allocations: 4 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/0.7364, allocations: 63.94 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.7368, allocations: 332.6 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.7371, allocations: 86.59 kB / 1.212 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.7372, allocations: 32.88 kB / 1.212 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.7372, allocations: 7.984 kB / 1.212 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.7373, allocations: 34.56 kB / 1.212 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.7373, allocations: 0 / 1.212 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0004601/0.7377, allocations: 133.5 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.7378, allocations: 51.41 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.278e-05/0.7379, allocations: 122.2 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.7379, allocations: 29.7 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.738, allocations: 96.08 kB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.738, allocations: 23.7 kB / 1.212 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.738, allocations: 17.72 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.866e-05/0.7381, allocations: 318.8 kB / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.7383, allocations: 31.97 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.7384, allocations: 32.41 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.7386, allocations: 84.73 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.7386, allocations: 0 / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002719/0.7389, allocations: 101.5 kB / 1.213 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.7389, allocations: 6.031 kB / 1.213 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.7389, allocations: 3.984 kB / 1.213 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.7389, allocations: 0 / 1.213 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.7391, allocations: 15.98 kB / 1.213 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.7391, allocations: 4 kB / 1.213 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.208e-05/0.7392, allocations: 11.98 kB / 1.213 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.7392, allocations: 4 kB / 1.213 GB, free: 9.266 MB / 0.9356 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.945e-05/0.7393, allocations: 117.8 kB / 1.213 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.7393, allocations: 3.906 kB / 1.213 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.7394, allocations: 12.38 kB / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7394, allocations: 0 / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7394, allocations: 0 / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.7394, allocations: 3.984 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.7396, allocations: 205.5 kB / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.7396, allocations: 0 / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.7397, allocations: 23.92 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.7397, allocations: 0 / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.7397, allocations: 4 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.7398, allocations: 0 / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7398, allocations: 0 / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.7401, allocations: 203.4 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.7401, allocations: 85.14 kB / 1.213 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.7401, allocations: 4 kB / 1.213 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.7403, allocations: 7.984 kB / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.7403, allocations: 11.98 kB / 1.213 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-06/0.7403, allocations: 8 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.61e-05/0.7404, allocations: 95.31 kB / 1.213 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7404, allocations: 0 / 1.213 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002266/0.7406, allocations: 16 kB / 1.213 GB, free: 8.383 MB / 0.9356 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.0001444/0.7408, allocations: 103.2 kB / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002939/0.7411, allocations: 79.81 kB / 1.214 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.7411, allocations: 0 / 1.214 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.7412, allocations: 43.91 kB / 1.214 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.7416, allocations: 8 kB / 1.214 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004377/0.742, allocations: 203 kB / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.7422, allocations: 0.6846 MB / 1.214 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.691e-05/0.7423, allocations: 19.36 kB / 1.214 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of SimCode: time 2.01e-07/0.7423, allocations: 0 / 1.214 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of Templates: time 0.002442/0.7448, allocations: 1.055 MB / 1.216 GB, free: 6.133 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches