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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008182/0.0008182, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008952/0.0008952, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8862/0.8862, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.787/1.787, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.574e-06/2.574e-06, allocations: 0 / 0.9997 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.283e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001401/0.001424, allocations: 0.7416 MB / 1 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008081/0.002232, allocations: 0.8704 MB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.873e-05/0.00227, allocations: 0 / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.935e-05/0.0023, allocations: 7.875 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.713e-05/0.002367, allocations: 3.938 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000138/0.002505, allocations: 27.97 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.514e-05/0.00259, allocations: 75.77 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.002699, allocations: 15.97 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.227e-05/0.002782, allocations: 43.91 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.084e-05/0.002832, allocations: 27.89 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.002858, allocations: 8 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.002869, allocations: 12 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.002889, allocations: 15.92 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.377e-05/0.002913, allocations: 19.92 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.003016, allocations: 87.7 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.003018, allocations: 3.938 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003019, allocations: 0 / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.003022, allocations: 0 / 1.002 GB, free: 11.45 MB / 0.9636 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.0004068/0.003429, allocations: 298.1 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.003469, allocations: 12.75 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.044e-05/0.003499, allocations: 42.73 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.413e-05/0.003523, allocations: 8.891 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.849e-05/0.003622, allocations: 117.7 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.003635, allocations: 384 / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.003647, allocations: 8.375 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.0038, allocations: 78.2 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.003807, allocations: 192 / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.003817, allocations: 4.312 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.003824, allocations: 8.125 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.003957, allocations: 67.94 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.004307, allocations: 279.9 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.004465, allocations: 90.44 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.921e-05/0.004534, allocations: 37.67 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.004549, allocations: 0 / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.004568, allocations: 38.56 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.004569, allocations: 0 / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.00028/0.004849, allocations: 141.6 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.004876, allocations: 51.41 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.458e-05/0.004941, allocations: 121.8 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.004953, allocations: 29.7 kB / 1.003 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.004992, allocations: 96.08 kB / 1.003 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.005015, allocations: 23.78 kB / 1.003 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.005047, allocations: 25.7 kB / 1.003 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.005127, allocations: 310.8 kB / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.267e-05/0.005189, allocations: 35.97 kB / 1.003 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.07e-05/0.00528, allocations: 31.97 kB / 1.004 GB, free: 9.344 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.005418, allocations: 64.81 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.005421, allocations: 3.938 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001559/0.005577, allocations: 105.6 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.005589, allocations: 5.719 kB / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.005593, allocations: 4 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.005603, allocations: 3.938 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/0.00569, allocations: 19.98 kB / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.005695, allocations: 0 / 1.004 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.864e-05/0.005733, allocations: 11.94 kB / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.00574, allocations: 4 kB / 1.004 GB, free: 9.117 MB / 0.9636 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 5.893e-05/0.005799, allocations: 113.8 kB / 1.004 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.005813, allocations: 7.953 kB / 1.004 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.036e-05/0.005834, allocations: 16.42 kB / 1.004 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.005836, allocations: 7.984 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.00584, allocations: 0 / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.005842, allocations: 0 / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.006003, allocations: 152.8 kB / 1.004 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.006004, allocations: 4.375 kB / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.773e-05/0.006052, allocations: 15.98 kB / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.006053, allocations: 0 / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.006063, allocations: 8 kB / 1.004 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.006063, allocations: 0 / 1.004 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.006065, allocations: 3.984 kB / 1.004 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.006244, allocations: 211.3 kB / 1.004 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.019e-05/0.006254, allocations: 3.938 kB / 1.004 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.006265, allocations: 0 / 1.004 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.847e-05/0.006313, allocations: 11.98 kB / 1.004 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.00636, allocations: 11.98 kB / 1.004 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.006364, allocations: 4 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.686e-05/0.006401, allocations: 91.27 kB / 1.004 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006401, allocations: 4 kB / 1.004 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001462/0.006548, allocations: 15.95 kB / 1.004 GB, free: 8.379 MB / 0.9636 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.0003474/0.006895, allocations: 0.7358 MB / 1.005 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000296/0.007191, allocations: 67.94 kB / 1.005 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.007194, allocations: 4 kB / 1.005 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.593e-05/0.00728, allocations: 39.91 kB / 1.005 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.007611, allocations: 12 kB / 1.005 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.00922, allocations: 1.458 MB / 1.007 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.569e-05/0.009266, allocations: 71.33 kB / 1.007 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.987e-05/0.009306, allocations: 8 kB / 1.007 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.555e-05/0.009361, allocations: 24.67 kB / 1.007 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of SimCode: time 3.5e-07/0.009362, allocations: 0 / 1.007 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.02429, allocations: 3.099 MB / 1.01 GB, free: 2.867 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.423/6.447, allocations: 2.344 kB / 1.01 GB, free: 2.867 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.537383422255516]