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.001173/0.001173, allocations: 80.55 kB / 19.96 MB, free: 4.598 MB / 18.57 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.001237/0.001237, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.893/0.893, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.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.794/1.794, allocations: 389.6 MB / 0.6343 GB, free: 12.58 MB / 0.6042 GB " [Timeout remaining time 178] 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 2.705e-06/2.705e-06, allocations: 0 / 1.001 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.307e-05, allocations: 2.281 kB / 1.001 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001432/0.001455, allocations: 0.7008 MB / 1.001 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008323/0.002288, allocations: 0.8315 MB / 1.002 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/0.002325, allocations: 0 / 1.002 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/0.002351, allocations: 0 / 1.002 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.542e-05/0.002416, allocations: 3.938 kB / 1.002 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/0.002526, allocations: 23.86 kB / 1.002 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.528e-05/0.002601, allocations: 39.92 kB / 1.002 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.998e-05/0.002701, allocations: 11.98 kB / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.093e-05/0.002782, allocations: 27.86 kB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.186e-05/0.002824, allocations: 15.97 kB / 1.002 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.002841, allocations: 4 kB / 1.002 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.888e-06/0.00285, allocations: 4 kB / 1.002 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.002871, allocations: 15.92 kB / 1.002 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.002893, allocations: 4 kB / 1.002 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.362e-05/0.002986, allocations: 51.8 kB / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.002989, allocations: 0 / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.183e-06/0.00299, allocations: 0 / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.002994, allocations: 4 kB / 1.002 GB, free: 11.7 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003955/0.00339, allocations: 282.3 kB / 1.003 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.003434, allocations: 9.344 kB / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.305e-05/0.003467, allocations: 34.73 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.348e-05/0.00349, allocations: 8.891 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.754e-05/0.003578, allocations: 117.7 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.003587, allocations: 384 / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.003599, allocations: 8.375 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.003779, allocations: 66.22 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.003787, allocations: 192 / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.003797, allocations: 384 / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.003803, allocations: 4.125 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.003949, allocations: 67.86 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.004278, allocations: 232.1 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.004416, allocations: 50.55 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.386e-05/0.0045, allocations: 40.91 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.004521, allocations: 3.938 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.004543, allocations: 34.56 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.004544, allocations: 0 / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003334/0.004877, allocations: 137.5 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.004909, allocations: 55.41 kB / 1.004 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.471e-05/0.004983, allocations: 109.8 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.004995, allocations: 25.7 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.005036, allocations: 88.14 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.005057, allocations: 7.891 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.005088, allocations: 17.72 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.403e-05/0.005172, allocations: 314.8 kB / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.487e-05/0.005257, allocations: 43.91 kB / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.802e-05/0.005325, allocations: 31.95 kB / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.005467, allocations: 68.73 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.00547, allocations: 0 / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001757/0.005646, allocations: 109.5 kB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.005661, allocations: 6.5 kB / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.005668, allocations: 3.938 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.005681, allocations: 0 / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.105e-05/0.005772, allocations: 15.98 kB / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.005777, allocations: 0 / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.05e-05/0.005818, allocations: 15.98 kB / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.005827, allocations: 4.328 kB / 1.004 GB, free: 9.531 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 (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 6.124e-05/0.005888, allocations: 116.5 kB / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.005901, allocations: 3.938 kB / 1.004 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.006126, allocations: 113.5 kB / 1.005 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.006128, allocations: 0 / 1.005 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.006133, allocations: 0 / 1.005 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.006136, allocations: 4 kB / 1.005 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.006259, allocations: 132.7 kB / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.006261, allocations: 0 / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.335e-05/0.006314, allocations: 27.91 kB / 1.005 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.006317, allocations: 0 / 1.005 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.006324, allocations: 0 / 1.005 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.006326, allocations: 4 kB / 1.005 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.006328, allocations: 0 / 1.005 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.006526, allocations: 191.4 kB / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.078e-05/0.006537, allocations: 15.89 kB / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.006547, allocations: 0 / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.316e-05/0.0066, allocations: 11.97 kB / 1.005 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.006641, allocations: 8 kB / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.006645, allocations: 0 / 1.005 GB, free: 8.836 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.688e-05/0.006682, allocations: 91.27 kB / 1.005 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006682, allocations: 0 / 1.005 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001491/0.006831, allocations: 4 kB / 1.005 GB, free: 8.742 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 (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.00042/0.007251, allocations: 0.7288 MB / 1.006 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.007451, allocations: 67.86 kB / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.007453, allocations: 7.938 kB / 1.006 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.264e-05/0.007525, allocations: 31.97 kB / 1.006 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.00781, allocations: 11.92 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.008217, allocations: 154.4 kB / 1.006 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.938e-05/0.008266, allocations: 71.27 kB / 1.006 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.652e-05/0.008292, allocations: 8 kB / 1.006 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.008334, allocations: 12.5 kB / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of SimCode: time 8.62e-07/0.008335, allocations: 0 / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09558/0.1039, allocations: 2.317 MB / 1.008 GB, free: 5.387 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.504/7.608, allocations: 12.09 kB / 1.008 GB, free: 5.379 MB / 0.9636 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: 12.13890686724335]