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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 104.4 kB / 16.4 MB, free: 6.5 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.001387/0.001387, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.433/1.433, allocations: 222.9 MB / 245 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.72/2.72, allocations: 469.8 MB / 0.7491 GB, free: 2.992 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 80.11 kB / 1.073 GB, free: 36 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.867/0.8688, allocations: 159.1 MB / 1.229 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002061/0.8709, allocations: 0.7624 MB / 1.229 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.872, allocations: 0.8428 MB / 1.23 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.592e-05/0.8721, allocations: 0 / 1.23 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.81e-05/0.8721, allocations: 11.86 kB / 1.23 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.37e-05/0.8722, allocations: 7.938 kB / 1.23 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.8724, allocations: 27.91 kB / 1.23 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.8725, allocations: 71.89 kB / 1.23 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.8726, allocations: 19.97 kB / 1.23 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.121e-05/0.8727, allocations: 31.86 kB / 1.23 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.372e-05/0.8728, allocations: 39.83 kB / 1.23 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.8728, allocations: 8 kB / 1.23 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.648e-05/0.8728, allocations: 8 kB / 1.23 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.8729, allocations: 11.98 kB / 1.231 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.059e-05/0.8729, allocations: 43.78 kB / 1.231 GB, free: 2.898 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.873, allocations: 73.47 kB / 1.231 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8731, allocations: 0 / 1.231 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8731, allocations: 0 / 1.231 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.8731, allocations: 0 / 1.231 GB, free: 2.828 MB / 0.9356 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.000597/0.8737, allocations: 379.1 kB / 1.231 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.8737, allocations: 12.03 kB / 1.231 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.365e-05/0.8738, allocations: 34.75 kB / 1.231 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.8738, allocations: 8.891 kB / 1.231 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.874, allocations: 184.2 kB / 1.231 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.874, allocations: 4.375 kB / 1.231 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.874, allocations: 4.375 kB / 1.231 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.8743, allocations: 90.08 kB / 1.231 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.8743, allocations: 3.938 kB / 1.231 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.8743, allocations: 0 / 1.231 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.8743, allocations: 0 / 1.231 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.8746, allocations: 71.94 kB / 1.231 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005205/0.8751, allocations: 324.7 kB / 1.232 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.8754, allocations: 86.52 kB / 1.232 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.8755, allocations: 36.89 kB / 1.232 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.8755, allocations: 4 kB / 1.232 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.8756, allocations: 30.56 kB / 1.232 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.8756, allocations: 4 kB / 1.232 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0005005/0.8761, allocations: 137.5 kB / 1.232 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.8761, allocations: 51.41 kB / 1.232 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.8763, allocations: 125.9 kB / 1.232 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.8763, allocations: 33.7 kB / 1.232 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/0.8764, allocations: 88.14 kB / 1.232 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.8764, allocations: 23.78 kB / 1.232 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.8765, allocations: 17.72 kB / 1.232 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.8766, allocations: 322.8 kB / 1.233 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.8767, allocations: 32.22 kB / 1.233 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.8769, allocations: 31.98 kB / 1.233 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.8771, allocations: 68.81 kB / 1.233 GB, free: 444 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8771, allocations: 0 / 1.233 GB, free: 444 kB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002929/0.8774, allocations: 109.5 kB / 1.233 GB, free: 328 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.8774, allocations: 8 kB / 1.233 GB, free: 320 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.8774, allocations: 0 / 1.233 GB, free: 320 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.8775, allocations: 0 / 1.233 GB, free: 320 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.8776, allocations: 23.97 kB / 1.233 GB, free: 296 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.8776, allocations: 0 / 1.233 GB, free: 296 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.783e-05/0.8777, allocations: 4 kB / 1.233 GB, free: 292 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.8777, allocations: 3.984 kB / 1.233 GB, free: 288 kB / 0.9356 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.442e-05/0.8778, allocations: 118.4 kB / 1.233 GB, free: 160 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.8779, allocations: 11.94 kB / 1.233 GB, free: 148 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.8779, allocations: 8.375 kB / 1.233 GB, free: 136 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.8779, allocations: 4 kB / 1.233 GB, free: 132 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.8779, allocations: 0 / 1.233 GB, free: 132 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.8779, allocations: 4 kB / 1.233 GB, free: 128 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.8782, allocations: 197.5 kB / 1.233 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.8782, allocations: 3.984 kB / 1.233 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.8783, allocations: 19.92 kB / 1.233 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.8783, allocations: 0 / 1.233 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.8783, allocations: 0 / 1.233 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8783, allocations: 3.938 kB / 1.233 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.8783, allocations: 0 / 1.233 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003711/0.8787, allocations: 211.6 kB / 1.233 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.706e-05/0.8788, allocations: 85.05 kB / 1.234 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.8788, allocations: 4 kB / 1.234 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.8789, allocations: 4 kB / 1.234 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.879, allocations: 19.92 kB / 1.234 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.879, allocations: 3.984 kB / 1.234 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.79e-05/0.8791, allocations: 95.7 kB / 1.234 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8791, allocations: 4 kB / 1.234 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000228/0.8793, allocations: 11.94 kB / 1.234 GB, free: 15.39 MB / 0.9512 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.0007464/0.8801, allocations: 0.7402 MB / 1.234 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003124/0.8804, allocations: 75.94 kB / 1.234 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8804, allocations: 0 / 1.234 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.8806, allocations: 43.91 kB / 1.234 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.8809, allocations: 8.328 kB / 1.234 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.8829, allocations: 1.45 MB / 1.236 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.8832, allocations: 0.6904 MB / 1.237 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 5.104e-05/0.8833, allocations: 4 kB / 1.237 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.8834, allocations: 27.42 kB / 1.237 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of SimCode: time 4.01e-07/0.8834, allocations: 0 / 1.237 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.9062, allocations: 2.323 MB / 1.239 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.42/9.327, allocations: 6.266 kB / 1.239 GB, free: 9.988 MB / 0.9512 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_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.254385048989207]