Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.00188/0.00188, allocations: 108 kB / 15.61 MB, free: 148 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.002786/0.002786, allocations: 196.8 kB / 16.53 MB, free: 6.656 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.647/1.647, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.018/3.018, allocations: 469.8 MB / 0.7423 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 73.48 kB / 0.9086 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.4324, allocations: 159.1 MB / 1.064 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002714/0.4352, allocations: 0.7636 MB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.4365, allocations: 0.8428 MB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.454e-05/0.4366, allocations: 0 / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.145e-05/0.4366, allocations: 11.86 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.4368, allocations: 3.938 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.437, allocations: 31.91 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.4371, allocations: 67.89 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.4373, allocations: 19.98 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.45e-05/0.4374, allocations: 35.84 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.285e-05/0.4375, allocations: 35.84 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.262e-05/0.4375, allocations: 8 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.4376, allocations: 8 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.644e-05/0.4377, allocations: 15.92 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.486e-05/0.4378, allocations: 31.84 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.4379, allocations: 75.75 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4379, allocations: 4 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4379, allocations: 0 / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.4379, allocations: 0 / 1.066 GB, free: 12.33 MB / 0.8262 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.0007442/0.4387, allocations: 371.6 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.4388, allocations: 11.97 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.4388, allocations: 8.844 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.439, allocations: 180.2 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.4391, allocations: 8.375 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.4391, allocations: 8.375 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.4394, allocations: 83.98 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.4394, allocations: 192 / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.4394, allocations: 7.938 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.4394, allocations: 0 / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002669/0.4397, allocations: 71.88 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005814/0.4403, allocations: 332.6 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.4406, allocations: 82.53 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.4407, allocations: 40.86 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.4408, allocations: 4 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.4408, allocations: 38.56 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.4408, allocations: 0 / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0005084/0.4413, allocations: 129.6 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.4414, allocations: 51.41 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.4415, allocations: 117.8 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.4416, allocations: 33.64 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.624e-05/0.4416, allocations: 100 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.4417, allocations: 19.66 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.4417, allocations: 21.7 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.4419, allocations: 318.9 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.4421, allocations: 39.84 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.4422, allocations: 27.97 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.4424, allocations: 72.81 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.4424, allocations: 4 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002987/0.4427, allocations: 97.64 kB / 1.068 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4428, allocations: 5.562 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4428, allocations: 0 / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.4428, allocations: 0 / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.4429, allocations: 15.98 kB / 1.068 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.443, allocations: 7.938 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.258e-05/0.443, allocations: 12.33 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.4431, allocations: 4 kB / 1.068 GB, free: 9.824 MB / 0.8262 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 0.0001059/0.4432, allocations: 113.8 kB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.4432, allocations: 4 kB / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.4432, allocations: 16.36 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.4433, allocations: 0 / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4433, allocations: 4 kB / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4433, allocations: 4 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.4435, allocations: 201.5 kB / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4436, allocations: 0 / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.4437, allocations: 15.98 kB / 1.068 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4437, allocations: 0 / 1.068 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.4437, allocations: 3.984 kB / 1.068 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4437, allocations: 4 kB / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.4437, allocations: 0 / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003623/0.4441, allocations: 203.4 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.253e-05/0.4442, allocations: 85.02 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.4442, allocations: 4 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.4443, allocations: 7.984 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.171e-05/0.4444, allocations: 11.98 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.4444, allocations: 0 / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.925e-05/0.4445, allocations: 99.7 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.474e-06/0.4445, allocations: 0 / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002247/0.4447, allocations: 23.88 kB / 1.069 GB, free: 8.945 MB / 0.8262 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.000194/0.4449, allocations: 95.25 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003292/0.4452, allocations: 79.81 kB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4453, allocations: 0 / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.4454, allocations: 47.91 kB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.4457, allocations: 11.98 kB / 1.069 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00049/0.4462, allocations: 170.8 kB / 1.069 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.4466, allocations: 0.6885 MB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.387e-05/0.4467, allocations: 8 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.542e-05/0.4467, allocations: 23.36 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of SimCode: time 4.4e-07/0.4467, allocations: 0 / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of Templates: time 0.004436/0.4512, allocations: 1.228 MB / 1.071 GB, free: 6.551 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches