Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.001556/0.001556, allocations: 113.2 kB / 16.46 MB, free: 6.504 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.001716/0.001716, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.416/1.416, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.696/2.696, allocations: 476.7 MB / 0.7611 GB, free: 11.33 MB / 0.6231 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.Max,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 71.89 kB / 1.104 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8636/0.8655, allocations: 168.7 MB / 1.269 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001982/0.8675, allocations: 0.7041 MB / 1.269 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009038/0.8684, allocations: 0.804 MB / 1.27 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.044e-05/0.8684, allocations: 8 kB / 1.27 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.238e-05/0.8685, allocations: 3.938 kB / 1.27 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.481e-05/0.8685, allocations: 3.938 kB / 1.27 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/0.8686, allocations: 11.98 kB / 1.27 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.552e-05/0.8687, allocations: 43.91 kB / 1.27 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.8689, allocations: 11.94 kB / 1.27 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.783e-05/0.8689, allocations: 19.92 kB / 1.27 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.424e-05/0.869, allocations: 15.92 kB / 1.27 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.869, allocations: 7.984 kB / 1.27 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.243e-05/0.869, allocations: 4 kB / 1.27 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.488e-05/0.869, allocations: 19.92 kB / 1.27 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.639e-05/0.8691, allocations: 15.94 kB / 1.27 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.8692, allocations: 33.7 kB / 1.27 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.8692, allocations: 7.984 kB / 1.27 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.755e-06/0.8692, allocations: 3.938 kB / 1.27 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.8692, allocations: 0 / 1.27 GB, free: 3.371 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006171/0.8698, allocations: 363.3 kB / 1.271 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.8699, allocations: 8.031 kB / 1.271 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.486e-05/0.8699, allocations: 38.75 kB / 1.271 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.8699, allocations: 8.891 kB / 1.271 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.8701, allocations: 164.4 kB / 1.271 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.8701, allocations: 4.375 kB / 1.271 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.8701, allocations: 8.312 kB / 1.271 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.8704, allocations: 66.22 kB / 1.271 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.8704, allocations: 7.875 kB / 1.271 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.8704, allocations: 4 kB / 1.271 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.8704, allocations: 4 kB / 1.271 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002681/0.8707, allocations: 67.91 kB / 1.271 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.8711, allocations: 272.8 kB / 1.271 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.8713, allocations: 54.48 kB / 1.272 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.8714, allocations: 40.91 kB / 1.272 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.8715, allocations: 0 / 1.272 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.8715, allocations: 34.56 kB / 1.272 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.8715, allocations: 0 / 1.272 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005143/0.872, allocations: 133.6 kB / 1.272 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.8721, allocations: 55.34 kB / 1.272 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.466e-05/0.8722, allocations: 105.8 kB / 1.272 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.8722, allocations: 25.7 kB / 1.272 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.8722, allocations: 92.08 kB / 1.272 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.8722, allocations: 11.91 kB / 1.272 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.8723, allocations: 21.7 kB / 1.272 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.8724, allocations: 310.8 kB / 1.272 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.8726, allocations: 27.97 kB / 1.272 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.8727, allocations: 35.95 kB / 1.272 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.8729, allocations: 76.72 kB / 1.272 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.8729, allocations: 0 / 1.272 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003014/0.8732, allocations: 97.56 kB / 1.273 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.8733, allocations: 4 kB / 1.273 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.8733, allocations: 320 / 1.273 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.8733, allocations: 4 kB / 1.273 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.8734, allocations: 19.92 kB / 1.273 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.8734, allocations: 0 / 1.273 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.742e-05/0.8735, allocations: 23.92 kB / 1.273 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.8735, allocations: 3.984 kB / 1.273 GB, free: 0.9844 MB / 0.9669 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 (3): * Single equations (assignments): 3 * 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 7.71e-05/0.8736, allocations: 110.7 kB / 1.273 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.8736, allocations: 4 kB / 1.273 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003458/0.8739, allocations: 109.5 kB / 1.273 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.8739, allocations: 0 / 1.273 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.8739, allocations: 0 / 1.273 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.8739, allocations: 3.938 kB / 1.273 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.8741, allocations: 169.6 kB / 1.273 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.8741, allocations: 3.984 kB / 1.273 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.237e-05/0.8742, allocations: 19.98 kB / 1.273 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.8742, allocations: 0 / 1.273 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.8742, allocations: 0 / 1.273 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8742, allocations: 0 / 1.273 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.8742, allocations: 7.938 kB / 1.273 GB, free: 500 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.8746, allocations: 203.7 kB / 1.273 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.8746, allocations: 85.14 kB / 1.273 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.8746, allocations: 0 / 1.273 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.998e-05/0.8747, allocations: 11.98 kB / 1.273 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.8748, allocations: 0 / 1.273 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.8748, allocations: 3.984 kB / 1.273 GB, free: 160 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.361e-05/0.8748, allocations: 87.28 kB / 1.273 GB, free: 72 kB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.8748, allocations: 0 / 1.273 GB, free: 72 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000224/0.875, allocations: 11.94 kB / 1.273 GB, free: 60 kB / 0.9669 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 (3): * Single equations (assignments): 3 * 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.0007495/0.8758, allocations: 0.7324 MB / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003214/0.8761, allocations: 67.92 kB / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8761, allocations: 0 / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.8763, allocations: 39.89 kB / 1.274 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.8766, allocations: 10.03 kB / 1.274 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.877, allocations: 167 kB / 1.274 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.8774, allocations: 0.6807 MB / 1.275 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.927e-05/0.8774, allocations: 4 kB / 1.275 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.8774, allocations: 11.44 kB / 1.275 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8774, allocations: 3.938 kB / 1.275 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.8991, allocations: 1.64 MB / 1.277 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.348/9.247, allocations: 3.812 kB / 1.277 GB, free: 12.7 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Max.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.205676953773946]