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.001244/0.001244, allocations: 109.7 kB / 17.54 MB, free: 4.641 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.001141/0.001141, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.3/1.3, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] 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.535/2.535, allocations: 476.7 MB / 0.7628 GB, free: 15.1 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.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.001816/0.001816, allocations: 63.89 kB / 1.107 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8021/0.804, allocations: 168.7 MB / 1.271 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.00154/0.8055, allocations: 0.712 MB / 1.272 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006414/0.8061, allocations: 0.8083 MB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.492e-05/0.8062, allocations: 0.7812 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.8062, allocations: 5.281 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.319e-05/0.8063, allocations: 17.81 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.388e-05/0.8063, allocations: 11.41 kB / 1.273 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.228e-05/0.8064, allocations: 43.73 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.398e-05/0.8065, allocations: 4.672 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.629e-05/0.8066, allocations: 22.22 kB / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.555e-05/0.8066, allocations: 18.33 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.8066, allocations: 4.031 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.8066, allocations: 3.844 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.8067, allocations: 10.7 kB / 1.273 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.958e-05/0.8067, allocations: 25.67 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.517e-05/0.8068, allocations: 38.56 kB / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.8068, allocations: 7.938 kB / 1.273 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8068, allocations: 0.7188 kB / 1.273 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.8068, allocations: 0 / 1.273 GB, free: 6.383 MB / 0.9981 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.0003855/0.8072, allocations: 360.5 kB / 1.273 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.8072, allocations: 9.812 kB / 1.273 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.192e-05/0.8072, allocations: 32.75 kB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.19e-05/0.8072, allocations: 10.58 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.35e-05/0.8073, allocations: 168.2 kB / 1.274 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.8073, allocations: 5.844 kB / 1.274 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.8073, allocations: 2.391 kB / 1.274 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.8075, allocations: 68.34 kB / 1.274 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.8076, allocations: 9.281 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.026e-06/0.8076, allocations: 0 / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.8076, allocations: 0.7812 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000276/0.8078, allocations: 67.48 kB / 1.274 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002352/0.8081, allocations: 269.7 kB / 1.274 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.8083, allocations: 50 kB / 1.274 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.8084, allocations: 42.2 kB / 1.274 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.8084, allocations: 4.75 kB / 1.274 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.277e-05/0.8084, allocations: 31.5 kB / 1.274 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.8084, allocations: 0 / 1.274 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0004738/0.8089, allocations: 132 kB / 1.274 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.683e-05/0.8089, allocations: 55.22 kB / 1.274 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.014e-05/0.809, allocations: 110.2 kB / 1.274 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.703e-06/0.809, allocations: 25.7 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.215e-05/0.809, allocations: 97.19 kB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.809, allocations: 4.922 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.809, allocations: 16.34 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.236e-05/0.8091, allocations: 317.5 kB / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.8092, allocations: 34.7 kB / 1.275 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.8093, allocations: 31.05 kB / 1.275 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.8096, allocations: 71.81 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.8096, allocations: 4 kB / 1.275 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002835/0.8099, allocations: 94.77 kB / 1.275 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.8099, allocations: 7.062 kB / 1.275 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.8099, allocations: 0.875 kB / 1.275 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.8099, allocations: 3.938 kB / 1.275 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.81, allocations: 18.64 kB / 1.275 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.81, allocations: 4 kB / 1.275 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.059e-05/0.8101, allocations: 14.86 kB / 1.275 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.8101, allocations: 4.562 kB / 1.275 GB, free: 4.562 MB / 0.9981 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 3.853e-05/0.8101, allocations: 117.3 kB / 1.275 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.8102, allocations: 1.688 kB / 1.275 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003123/0.8105, allocations: 112.3 kB / 1.275 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.8105, allocations: 3.328 kB / 1.275 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.8105, allocations: 0 / 1.275 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.8105, allocations: 0 / 1.275 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.8106, allocations: 170.4 kB / 1.276 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.8106, allocations: 4 kB / 1.276 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.642e-05/0.8107, allocations: 20.73 kB / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.8107, allocations: 0 / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.8107, allocations: 0.9688 kB / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.8107, allocations: 4.875 kB / 1.276 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.8107, allocations: 3.938 kB / 1.276 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.811, allocations: 195.4 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.525e-05/0.811, allocations: 82.02 kB / 1.276 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.811, allocations: 1.562 kB / 1.276 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.977e-05/0.8111, allocations: 15.69 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.8111, allocations: 4.062 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.8111, allocations: 0.9688 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.473e-05/0.8112, allocations: 91.56 kB / 1.276 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.8112, allocations: 0 / 1.276 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002015/0.8114, allocations: 6.531 kB / 1.276 GB, free: 3.836 MB / 0.9981 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.0004594/0.8118, allocations: 0.7371 MB / 1.277 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003111/0.8121, allocations: 68.98 kB / 1.277 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8121, allocations: 1.344 kB / 1.277 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.8123, allocations: 35.7 kB / 1.277 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.8125, allocations: 7.781 kB / 1.277 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.8129, allocations: 167.6 kB / 1.277 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.813, allocations: 0.6841 MB / 1.278 GB, free: 18.27 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.394e-05/0.8131, allocations: 1.562 kB / 1.278 GB, free: 18.27 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.8131, allocations: 17.72 kB / 1.278 GB, free: 18.25 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.8131, allocations: 0 / 1.278 GB, free: 18.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.8362, allocations: 1.61 MB / 1.279 GB, free: 17.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.989/7.825, allocations: 5.531 kB / 1.279 GB, free: 17.88 MB / 1.014 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable max1.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv. Warning: Get data of variable max1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv failed! Error: Could not read variable max1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv. Warning: Get data of variable max1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.255874458998733]