Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.0009449/0.0009449, allocations: 104.3 kB / 19.72 MB, free: 424 kB / 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.00145/0.00145, allocations: 218.8 kB / 23.03 MB, free: 2.965 MB / 13.93 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 1.029/1.029, allocations: 230.6 MB / 256.8 MB, free: 9.629 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.997/1.997, allocations: 0.5045 GB / 0.8104 GB, free: 2.801 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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.Max,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.000996/0.000996, allocations: 67.91 kB / 1.177 GB, free: 12 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7549/0.7559, allocations: 180 MB / 1.352 GB, free: 1.723 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001507/0.7574, allocations: 0.707 MB / 1.353 GB, free: 1.016 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0007781/0.7582, allocations: 0.8315 MB / 1.354 GB, free: 176 kB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.7582, allocations: 0 / 1.354 GB, free: 176 kB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 3.117e-05/0.7582, allocations: 3.938 kB / 1.354 GB, free: 172 kB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 6.817e-05/0.7583, allocations: 3.938 kB / 1.354 GB, free: 168 kB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.7584, allocations: 19.98 kB / 1.354 GB, free: 148 kB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 8.028e-05/0.7585, allocations: 43.84 kB / 1.354 GB, free: 104 kB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.7586, allocations: 8 kB / 1.354 GB, free: 96 kB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 6.687e-05/0.7587, allocations: 15.92 kB / 1.354 GB, free: 80 kB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 4.749e-05/0.7587, allocations: 19.92 kB / 1.354 GB, free: 60 kB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.7587, allocations: 7.984 kB / 1.354 GB, free: 52 kB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 1.266e-05/0.7588, allocations: 4 kB / 1.354 GB, free: 48 kB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.7588, allocations: 11.92 kB / 1.354 GB, free: 36 kB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.7588, allocations: 11.94 kB / 1.354 GB, free: 24 kB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.7589, allocations: 42.12 kB / 1.354 GB, free: 15.98 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.7589, allocations: 0 / 1.354 GB, free: 15.98 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.464e-06/0.7589, allocations: 7.984 kB / 1.354 GB, free: 15.98 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.7589, allocations: 0 / 1.354 GB, free: 15.98 MB / 1.042 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.0004215/0.7594, allocations: 283.9 kB / 1.354 GB, free: 15.67 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.7594, allocations: 12.92 kB / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.191e-05/0.7594, allocations: 34.75 kB / 1.354 GB, free: 15.61 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.39e-05/0.7595, allocations: 4.891 kB / 1.355 GB, free: 15.61 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.757e-05/0.7595, allocations: 110.5 kB / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.7596, allocations: 4.375 kB / 1.355 GB, free: 15.47 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.7596, allocations: 4.359 kB / 1.355 GB, free: 15.47 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.7597, allocations: 70.22 kB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.7597, allocations: 3.938 kB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.7598, allocations: 4 kB / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.7598, allocations: 0 / 1.355 GB, free: 15.39 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.7599, allocations: 63.92 kB / 1.355 GB, free: 15.32 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.7602, allocations: 239.9 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.7603, allocations: 66.45 kB / 1.355 GB, free: 14.97 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.026e-05/0.7604, allocations: 32.92 kB / 1.355 GB, free: 14.94 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.7604, allocations: 0 / 1.355 GB, free: 14.94 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.7605, allocations: 34.56 kB / 1.355 GB, free: 14.89 MB / 1.042 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.7605, allocations: 0 / 1.355 GB, free: 14.89 MB / 1.042 GB Notification: Performance of matching and sorting (n=3): time 0.000301/0.7608, allocations: 133.5 kB / 1.355 GB, free: 14.76 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.7608, allocations: 51.41 kB / 1.355 GB, free: 14.7 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.654e-05/0.7609, allocations: 113.8 kB / 1.355 GB, free: 14.57 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.7609, allocations: 25.7 kB / 1.355 GB, free: 14.54 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.7609, allocations: 92.03 kB / 1.356 GB, free: 14.45 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.7609, allocations: 15.88 kB / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.761, allocations: 9.719 kB / 1.356 GB, free: 14.42 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.185e-05/0.761, allocations: 322.8 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.203e-05/0.7611, allocations: 35.95 kB / 1.356 GB, free: 14.06 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.138e-05/0.7612, allocations: 27.97 kB / 1.356 GB, free: 14.03 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.7613, allocations: 72.72 kB / 1.356 GB, free: 13.96 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7613, allocations: 4 kB / 1.356 GB, free: 13.95 MB / 1.042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001566/0.7615, allocations: 101.5 kB / 1.356 GB, free: 13.85 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.7615, allocations: 10.34 kB / 1.356 GB, free: 13.84 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.7615, allocations: 0 / 1.356 GB, free: 13.84 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.7615, allocations: 0 / 1.356 GB, free: 13.84 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-05/0.7616, allocations: 15.97 kB / 1.356 GB, free: 13.82 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.7616, allocations: 8 kB / 1.356 GB, free: 13.82 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.284e-05/0.7616, allocations: 7.984 kB / 1.356 GB, free: 13.81 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.7616, allocations: 4 kB / 1.356 GB, free: 13.8 MB / 1.042 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 5.767e-05/0.7617, allocations: 114.3 kB / 1.356 GB, free: 13.68 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.7617, allocations: 4 kB / 1.356 GB, free: 13.68 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004682/0.7622, allocations: 105.5 kB / 1.356 GB, free: 13.57 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.7622, allocations: 8 kB / 1.356 GB, free: 13.56 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.7622, allocations: 0 / 1.356 GB, free: 13.56 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.7622, allocations: 0 / 1.356 GB, free: 13.56 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.7623, allocations: 136.7 kB / 1.356 GB, free: 13.38 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.7623, allocations: 0 / 1.356 GB, free: 13.38 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.664e-05/0.7623, allocations: 11.98 kB / 1.356 GB, free: 13.37 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.7623, allocations: 4 kB / 1.356 GB, free: 13.37 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.7624, allocations: 0 / 1.356 GB, free: 13.37 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7624, allocations: 3.938 kB / 1.356 GB, free: 13.36 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7624, allocations: 0 / 1.356 GB, free: 13.36 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.7625, allocations: 203.7 kB / 1.357 GB, free: 13.15 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-06/0.7626, allocations: 4 kB / 1.357 GB, free: 13.14 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.7626, allocations: 0 / 1.357 GB, free: 13.14 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.98e-05/0.7626, allocations: 11.98 kB / 1.357 GB, free: 13.13 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.7627, allocations: 15.95 kB / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.7627, allocations: 4 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.543e-05/0.7627, allocations: 83.28 kB / 1.357 GB, free: 13.03 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7627, allocations: 4 kB / 1.357 GB, free: 13.03 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001456/0.7629, allocations: 8 kB / 1.357 GB, free: 13.02 MB / 1.042 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.000447/0.7633, allocations: 0.7241 MB / 1.358 GB, free: 12.27 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.7635, allocations: 79.86 kB / 1.358 GB, free: 12.19 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7635, allocations: 3.938 kB / 1.358 GB, free: 12.19 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.754e-05/0.7636, allocations: 35.95 kB / 1.358 GB, free: 12.15 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.7639, allocations: 6.953 kB / 1.358 GB, free: 12.15 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.7643, allocations: 151.2 kB / 1.358 GB, free: 11.96 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.158e-05/0.7644, allocations: 71.28 kB / 1.358 GB, free: 11.87 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.467e-05/0.7644, allocations: 0 / 1.358 GB, free: 11.87 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.7644, allocations: 19.42 kB / 1.358 GB, free: 11.85 MB / 1.042 GB Notification: Performance of SimCode: time 6.71e-07/0.7644, allocations: 0 / 1.358 GB, free: 11.85 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08258/0.847, allocations: 2.192 MB / 1.36 GB, free: 9.797 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.134/7.981, allocations: 4.922 kB / 1.36 GB, free: 9.793 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Max.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Max_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Max_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Max_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Max_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Max_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_Max.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Max_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.00645021442324]