Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_10_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.006362/0.006362, allocations: 100.5 kB / 15.73 MB, free: 6.008 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.001675/0.001675, allocations: 195.4 kB / 16.67 MB, free: 5.93 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.487/2.487, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002059/0.00206, allocations: 63.91 kB / 1.018 GB, free: 9.844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8514/0.8535, allocations: 151.6 MB / 1.166 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002362/0.8559, allocations: 0.7625 MB / 1.167 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.8572, allocations: 0.8531 MB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.527e-05/0.8573, allocations: 0 / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.748e-05/0.8574, allocations: 7.875 kB / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.8575, allocations: 11.94 kB / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.8577, allocations: 27.91 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.8578, allocations: 71.83 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.8579, allocations: 19.98 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.8581, allocations: 35.84 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.8582, allocations: 35.89 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.8582, allocations: 15.94 kB / 1.168 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.756e-05/0.8582, allocations: 8 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.831e-05/0.8583, allocations: 11.98 kB / 1.168 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.906e-05/0.8583, allocations: 35.72 kB / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.8585, allocations: 75.75 kB / 1.168 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.8585, allocations: 0 / 1.168 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8585, allocations: 0 / 1.168 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.8585, allocations: 0 / 1.168 GB, free: 1.883 MB / 0.8887 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.0006863/0.8592, allocations: 373.5 kB / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.8592, allocations: 8.922 kB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.884e-05/0.8593, allocations: 42.73 kB / 1.169 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.8593, allocations: 8.844 kB / 1.169 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.8595, allocations: 184.2 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.8596, allocations: 4.312 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.8596, allocations: 4.375 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.8599, allocations: 86.14 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.8599, allocations: 3.938 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.8599, allocations: 8 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.8599, allocations: 0 / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.8602, allocations: 71.92 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005695/0.8607, allocations: 320.6 kB / 1.169 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.861, allocations: 86.53 kB / 1.169 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.8612, allocations: 44.92 kB / 1.169 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.8612, allocations: 4 kB / 1.169 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.8612, allocations: 30.56 kB / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.8612, allocations: 0 / 1.169 GB, free: 468 kB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.0005126/0.8618, allocations: 137.5 kB / 1.169 GB, free: 324 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.8618, allocations: 55.41 kB / 1.17 GB, free: 256 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.8619, allocations: 121.8 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.862, allocations: 25.7 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.533e-05/0.8621, allocations: 100.2 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.8621, allocations: 15.5 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.8622, allocations: 21.7 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.8623, allocations: 322.9 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.8624, allocations: 39.91 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.8626, allocations: 31.97 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.8628, allocations: 64.81 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8628, allocations: 0 / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002925/0.8631, allocations: 105.5 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.8631, allocations: 12 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.8631, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.8632, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.8633, allocations: 15.98 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.8633, allocations: 0 / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.579e-05/0.8634, allocations: 7.984 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.8635, allocations: 4 kB / 1.17 GB, free: 15.34 MB / 0.9044 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.0001041/0.8636, allocations: 116.6 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.8636, allocations: 11.91 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.8636, allocations: 12.38 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.8637, allocations: 3.984 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.8637, allocations: 0 / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.8637, allocations: 4 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.8639, allocations: 197.9 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.8639, allocations: 3.938 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.864, allocations: 19.98 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.864, allocations: 0 / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.8641, allocations: 0 / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.8641, allocations: 0 / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.8641, allocations: 7.984 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.8644, allocations: 203.3 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.8645, allocations: 81.11 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.8645, allocations: 4 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.8646, allocations: 3.984 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.685e-05/0.8647, allocations: 19.98 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.8647, allocations: 0 / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.596e-05/0.8648, allocations: 99.27 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.114e-06/0.8648, allocations: 3.938 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002373/0.865, allocations: 15.84 kB / 1.171 GB, free: 14.45 MB / 0.9044 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.0006699/0.8657, allocations: 0.7358 MB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002865/0.866, allocations: 71.89 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.866, allocations: 0 / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.8662, allocations: 51.89 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.8665, allocations: 4 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.8685, allocations: 1.447 MB / 1.173 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.8688, allocations: 0.6885 MB / 1.174 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.712e-05/0.8689, allocations: 11.98 kB / 1.174 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.13e-05/0.869, allocations: 31.36 kB / 1.174 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of SimCode: time 7.92e-07/0.869, allocations: 0 / 1.174 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02091/0.8899, allocations: 2.306 MB / 1.176 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.746/8.636, allocations: 6.703 kB / 1.176 GB, free: 9.059 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,round1.u,round1.y,round2.u,round2.y,round3.u,round3.y Variables in the result:gai.k,gai.u,gai.y,gai1.k,gai1.u,gai1.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,round1.n,round1.u,round1.y,round2.n,round2.u,round2.y,round3.n,round3.u,round3.y,time