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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 104.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002067/0.002067, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.064/3.064, allocations: 497.2 MB / 0.7812 GB, free: 11.95 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.91 kB / 1.134 GB, free: 13.12 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 173.9 MB / 1.304 GB, free: 32.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002374/1.014, allocations: 0.7695 MB / 1.305 GB, free: 31.65 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001028/1.015, allocations: 0.8451 MB / 1.306 GB, free: 31.01 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.282e-05/1.015, allocations: 0 / 1.306 GB, free: 31.01 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.97e-05/1.015, allocations: 7.125 kB / 1.306 GB, free: 31.01 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.538e-05/1.015, allocations: 11.88 kB / 1.306 GB, free: 31 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/1.016, allocations: 28.38 kB / 1.306 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/1.016, allocations: 69.98 kB / 1.306 GB, free: 30.95 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/1.016, allocations: 20.64 kB / 1.306 GB, free: 30.94 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.585e-05/1.016, allocations: 34.48 kB / 1.306 GB, free: 30.92 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.817e-05/1.016, allocations: 37.34 kB / 1.306 GB, free: 30.91 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/1.016, allocations: 7.938 kB / 1.306 GB, free: 30.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.893e-05/1.016, allocations: 8.375 kB / 1.306 GB, free: 30.91 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.728e-05/1.016, allocations: 15.31 kB / 1.306 GB, free: 30.89 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.437e-05/1.016, allocations: 36.23 kB / 1.306 GB, free: 30.87 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/1.016, allocations: 77.38 kB / 1.306 GB, free: 30.84 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/1.016, allocations: 0 / 1.306 GB, free: 30.84 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/1.016, allocations: 0 / 1.306 GB, free: 30.84 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.091e-06/1.016, allocations: 2.562 kB / 1.306 GB, free: 30.84 MB / 1.061 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.0006376/1.017, allocations: 373.1 kB / 1.306 GB, free: 30.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/1.017, allocations: 7.719 kB / 1.306 GB, free: 30.46 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.556e-05/1.017, allocations: 40.86 kB / 1.306 GB, free: 30.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/1.017, allocations: 7.484 kB / 1.306 GB, free: 30.41 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/1.017, allocations: 178 kB / 1.307 GB, free: 30.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/1.017, allocations: 11.31 kB / 1.307 GB, free: 30.2 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/1.017, allocations: 3.219 kB / 1.307 GB, free: 30.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/1.018, allocations: 83.33 kB / 1.307 GB, free: 30.15 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.018, allocations: 3.938 kB / 1.307 GB, free: 30.14 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/1.018, allocations: 4 kB / 1.307 GB, free: 30.14 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.018, allocations: 2.688 kB / 1.307 GB, free: 30.14 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/1.018, allocations: 62.61 kB / 1.307 GB, free: 30.13 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004756/1.018, allocations: 337.2 kB / 1.307 GB, free: 29.81 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/1.019, allocations: 82.8 kB / 1.307 GB, free: 29.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/1.019, allocations: 36.02 kB / 1.307 GB, free: 29.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/1.019, allocations: 0 / 1.307 GB, free: 29.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/1.019, allocations: 40.81 kB / 1.307 GB, free: 29.71 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/1.019, allocations: 3.938 kB / 1.307 GB, free: 29.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0005984/1.019, allocations: 134 kB / 1.307 GB, free: 29.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/1.019, allocations: 51.41 kB / 1.307 GB, free: 29.58 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.046e-05/1.02, allocations: 122 kB / 1.307 GB, free: 29.48 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/1.02, allocations: 29.7 kB / 1.307 GB, free: 29.44 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/1.02, allocations: 95.12 kB / 1.308 GB, free: 29.35 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/1.02, allocations: 25.94 kB / 1.308 GB, free: 29.33 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/1.02, allocations: 16.38 kB / 1.308 GB, free: 29.31 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.477e-05/1.02, allocations: 321.2 kB / 1.308 GB, free: 28.99 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/1.02, allocations: 30.92 kB / 1.308 GB, free: 28.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/1.02, allocations: 32 kB / 1.308 GB, free: 28.98 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/1.02, allocations: 72.88 kB / 1.308 GB, free: 28.95 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.02, allocations: 0 / 1.308 GB, free: 28.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003904/1.021, allocations: 103.4 kB / 1.308 GB, free: 28.89 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/1.021, allocations: 12.31 kB / 1.308 GB, free: 28.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/1.021, allocations: 0 / 1.308 GB, free: 28.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/1.021, allocations: 2.906 kB / 1.308 GB, free: 28.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/1.021, allocations: 12.2 kB / 1.308 GB, free: 28.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/1.021, allocations: 6.938 kB / 1.308 GB, free: 28.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/1.021, allocations: 10.38 kB / 1.308 GB, free: 28.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/1.021, allocations: 3.344 kB / 1.308 GB, free: 28.88 MB / 1.061 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.401e-05/1.021, allocations: 123.8 kB / 1.308 GB, free: 28.76 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/1.021, allocations: 2.781 kB / 1.308 GB, free: 28.76 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/1.021, allocations: 8.375 kB / 1.308 GB, free: 28.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/1.021, allocations: 3.984 kB / 1.308 GB, free: 28.74 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.021, allocations: 6.625 kB / 1.308 GB, free: 28.74 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.021, allocations: 0 / 1.308 GB, free: 28.74 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/1.022, allocations: 207.3 kB / 1.309 GB, free: 28.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/1.022, allocations: 0 / 1.309 GB, free: 28.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/1.022, allocations: 18.55 kB / 1.309 GB, free: 28.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/1.022, allocations: 0 / 1.309 GB, free: 28.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/1.022, allocations: 0 / 1.309 GB, free: 28.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.022, allocations: 0 / 1.309 GB, free: 28.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.022, allocations: 0 / 1.309 GB, free: 28.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004086/1.022, allocations: 213.1 kB / 1.309 GB, free: 28.36 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/1.022, allocations: 79.92 kB / 1.309 GB, free: 28.26 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/1.022, allocations: 0 / 1.309 GB, free: 28.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/1.022, allocations: 8.359 kB / 1.309 GB, free: 28.26 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/1.022, allocations: 14.11 kB / 1.309 GB, free: 28.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/1.022, allocations: 6.281 kB / 1.309 GB, free: 28.25 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.712e-05/1.022, allocations: 90.52 kB / 1.309 GB, free: 28.18 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/1.022, allocations: 0 / 1.309 GB, free: 28.18 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004439/1.023, allocations: 23.14 kB / 1.309 GB, free: 28.16 MB / 1.061 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.0006545/1.024, allocations: 0.7374 MB / 1.31 GB, free: 27.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004009/1.024, allocations: 76.88 kB / 1.31 GB, free: 27.46 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.024, allocations: 0 / 1.31 GB, free: 27.46 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001943/1.024, allocations: 40.95 kB / 1.31 GB, free: 27.45 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005021/1.025, allocations: 10.78 kB / 1.31 GB, free: 27.44 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/1.027, allocations: 1.454 MB / 1.311 GB, free: 26.17 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/1.027, allocations: 0.6976 MB / 1.312 GB, free: 25.47 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.393e-05/1.027, allocations: 2.875 kB / 1.312 GB, free: 25.47 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.585e-05/1.027, allocations: 27.91 kB / 1.312 GB, free: 25.46 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/1.027, allocations: 0 / 1.312 GB, free: 25.46 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03057/1.058, allocations: 2.332 MB / 1.314 GB, free: 25.03 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.269/9.326, allocations: 8.641 kB / 1.314 GB, free: 25.03 MB / 1.061 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Round.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.923317641951144]