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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001182/0.001182, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.334/1.334, allocations: 222.9 MB / 239.9 MB, free: 4.531 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 2.653/2.653, allocations: 469.8 MB / 0.7421 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 66.77 kB / 0.9082 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2638, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001975/0.2658, allocations: 0.8298 MB / 1.064 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009491/0.2668, allocations: 0.8429 MB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.774e-05/0.2668, allocations: 0 / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.33e-05/0.2669, allocations: 3.938 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.497e-05/0.267, allocations: 7.922 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.2671, allocations: 31.91 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.949e-05/0.2672, allocations: 71.83 kB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.953e-05/0.2673, allocations: 20 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.397e-05/0.2674, allocations: 27.91 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.2675, allocations: 43.83 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.2675, allocations: 8 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.2675, allocations: 8 kB / 1.065 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.718e-05/0.2676, allocations: 23.86 kB / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.307e-05/0.2676, allocations: 23.86 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.2677, allocations: 75.73 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2677, allocations: 0 / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2677, allocations: 0 / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2677, allocations: 0 / 1.066 GB, free: 12.48 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.0005706/0.2683, allocations: 379.5 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.2683, allocations: 12.03 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.912e-05/0.2684, allocations: 34.75 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.2684, allocations: 8.844 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.2686, allocations: 180.2 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.2687, allocations: 4.375 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.2687, allocations: 4.375 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.2689, allocations: 86.14 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.2689, allocations: 3.938 kB / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.2689, allocations: 0 / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.2689, allocations: 0 / 1.066 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002349/0.2692, allocations: 71.94 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004489/0.2696, allocations: 324.6 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.2699, allocations: 90.47 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.27, allocations: 40.92 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.2701, allocations: 4 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.2701, allocations: 30.56 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.2701, allocations: 0 / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0004581/0.2706, allocations: 145.5 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.2706, allocations: 51.41 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.2707, allocations: 121.9 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.715e-05/0.2708, allocations: 25.7 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.2708, allocations: 96.12 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.2709, allocations: 19.66 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.2709, allocations: 21.7 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2711, allocations: 322.8 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.2713, allocations: 31.98 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.2714, allocations: 31.97 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.2716, allocations: 68.81 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2716, allocations: 3.938 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002994/0.2719, allocations: 105.5 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.2719, allocations: 9.25 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2719, allocations: 0 / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.272, allocations: 0 / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.2721, allocations: 15.98 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.2721, allocations: 3.984 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.458e-05/0.2722, allocations: 4 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.2722, allocations: 11.98 kB / 1.068 GB, free: 9.926 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 9.177e-05/0.2723, allocations: 121.8 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.2723, allocations: 4 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.2724, allocations: 12.38 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.2724, allocations: 0 / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2724, allocations: 0 / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2724, allocations: 0 / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.2726, allocations: 193.5 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2727, allocations: 0 / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.2728, allocations: 24.34 kB / 1.068 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2728, allocations: 0 / 1.068 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.2728, allocations: 8 kB / 1.068 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/0.2728, allocations: 8 kB / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2728, allocations: 0 / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.2731, allocations: 195.4 kB / 1.068 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.2732, allocations: 85.02 kB / 1.068 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.2732, allocations: 0 / 1.068 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.2733, allocations: 7.984 kB / 1.068 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.2734, allocations: 15.98 kB / 1.068 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.2734, allocations: 7.938 kB / 1.068 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.154e-05/0.2735, allocations: 95.27 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2735, allocations: 0 / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002164/0.2737, allocations: 15.94 kB / 1.069 GB, free: 9.055 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.0006814/0.2744, allocations: 0.7435 MB / 1.069 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002731/0.2747, allocations: 75.88 kB / 1.069 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2747, allocations: 4 kB / 1.069 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.2748, allocations: 39.97 kB / 1.069 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.2751, allocations: 4 kB / 1.069 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.277, allocations: 1.464 MB / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.2773, allocations: 0.6924 MB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.837e-05/0.2773, allocations: 11.98 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.586e-05/0.2774, allocations: 27.36 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2774, allocations: 0 / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2624/0.5398, allocations: 2.102 MB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002888/0.5402, allocations: 200.7 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.316, allocations: 4 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Round_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Round.fmu > 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/jenkins1/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