Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.0009457/0.0009457, allocations: 100.3 kB / 19.72 MB, free: 428 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.001627/0.001627, allocations: 214.8 kB / 23.03 MB, free: 2.969 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.015/1.015, allocations: 230.6 MB / 256.8 MB, free: 9.621 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 2.38/2.38, allocations: 0.5045 GB / 0.8104 GB, free: 2.754 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.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_13_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_13_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009458/0.0009458, allocations: 71.83 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7624/0.7634, allocations: 180 MB / 1.352 GB, free: 1.668 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad): time 0.001683/0.7651, allocations: 1.254 MB / 1.354 GB, free: 416 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.7665, allocations: 1.328 MB / 1.355 GB, free: 15.07 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.565e-05/0.7665, allocations: 0 / 1.355 GB, free: 15.07 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.043e-05/0.7665, allocations: 3.938 kB / 1.355 GB, free: 15.07 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005883/0.7671, allocations: 215.3 kB / 1.355 GB, free: 14.86 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 6.933e-05/0.7672, allocations: 36.95 kB / 1.355 GB, free: 14.82 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 4.392e-05/0.7672, allocations: 11.94 kB / 1.355 GB, free: 14.81 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.749e-05/0.7673, allocations: 4 kB / 1.355 GB, free: 14.8 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.147e-05/0.7673, allocations: 11.92 kB / 1.355 GB, free: 14.79 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0849/0.8522, allocations: 31.11 MB / 1.386 GB, free: 2.18 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.8522, allocations: 8 kB / 1.386 GB, free: 2.172 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 1.105e-05/0.8522, allocations: 0 / 1.386 GB, free: 2.172 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.8523, allocations: 4 kB / 1.386 GB, free: 2.168 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.8523, allocations: 4 kB / 1.386 GB, free: 2.164 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.8524, allocations: 15.91 kB / 1.386 GB, free: 2.148 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.8524, allocations: 0 / 1.386 GB, free: 2.148 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8524, allocations: 0 / 1.386 GB, free: 2.148 MB / 1.057 GB Notification: Performance of Transformations before backend: time 8.637e-06/0.8524, allocations: 0 / 1.386 GB, free: 2.148 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002425/0.8527, allocations: 246.4 kB / 1.386 GB, free: 1.879 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.8527, allocations: 8.922 kB / 1.386 GB, free: 1.871 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.706e-05/0.8528, allocations: 114 kB / 1.386 GB, free: 1.75 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.8528, allocations: 88.16 kB / 1.386 GB, free: 1.664 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.27e-05/0.8529, allocations: 181.8 kB / 1.386 GB, free: 1.461 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/0.8529, allocations: 154.9 kB / 1.386 GB, free: 1.309 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.853, allocations: 150.9 kB / 1.387 GB, free: 1.16 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.142e-05/0.853, allocations: 104.9 kB / 1.387 GB, free: 1.051 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.853, allocations: 79.28 kB / 1.387 GB, free: 0.9727 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.068e-05/0.8531, allocations: 154.5 kB / 1.387 GB, free: 0.8203 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.041e-05/0.8531, allocations: 150.6 kB / 1.387 GB, free: 0.6719 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.566e-05/0.8531, allocations: 154.5 kB / 1.387 GB, free: 0.5195 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.8533, allocations: 417 kB / 1.388 GB, free: 72 kB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 8.195e-05/0.8534, allocations: 173.1 kB / 1.388 GB, free: 15.89 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.398e-05/0.8534, allocations: 80.14 kB / 1.388 GB, free: 15.81 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.8535, allocations: 79.22 kB / 1.388 GB, free: 15.73 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.8535, allocations: 113.8 kB / 1.388 GB, free: 15.61 MB / 1.073 GB Notification: Performance of pre-optimization done (n=0): time 5.81e-07/0.8535, allocations: 0 / 1.388 GB, free: 15.61 MB / 1.073 GB Notification: Performance of matching and sorting (n=0): time 6.281e-05/0.8536, allocations: 41.62 kB / 1.388 GB, free: 15.56 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/0.8536, allocations: 203.8 kB / 1.388 GB, free: 15.33 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.509e-05/0.8537, allocations: 93.86 kB / 1.388 GB, free: 15.23 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.8537, allocations: 25.7 kB / 1.388 GB, free: 15.2 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 3.106e-05/0.8537, allocations: 88.14 kB / 1.388 GB, free: 15.11 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.8538, allocations: 0 / 1.388 GB, free: 15.11 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/0.8538, allocations: 21.7 kB / 1.388 GB, free: 15.08 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 7.272e-05/0.8538, allocations: 314.8 kB / 1.389 GB, free: 14.77 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.03e-06/0.8538, allocations: 0 / 1.389 GB, free: 14.77 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.762e-05/0.8539, allocations: 99.69 kB / 1.389 GB, free: 14.64 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.433e-05/0.8539, allocations: 75.28 kB / 1.389 GB, free: 14.57 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.615e-05/0.8539, allocations: 79.28 kB / 1.389 GB, free: 14.49 MB / 1.073 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.741e-05/0.854, allocations: 37.56 kB / 1.389 GB, free: 14.45 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.854, allocations: 83.28 kB / 1.389 GB, free: 14.36 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.854, allocations: 75.36 kB / 1.389 GB, free: 14.29 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.541e-05/0.8541, allocations: 158.5 kB / 1.389 GB, free: 14.13 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.747e-05/0.8541, allocations: 83.28 kB / 1.389 GB, free: 14.05 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.384e-05/0.8541, allocations: 150.6 kB / 1.39 GB, free: 13.9 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.8542, allocations: 91.2 kB / 1.39 GB, free: 13.81 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.8543, allocations: 79.28 kB / 1.39 GB, free: 13.73 MB / 1.073 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 (0): * Single equations (assignments): 0 * 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.552e-05/0.8544, allocations: 260.4 kB / 1.39 GB, free: 13.47 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.8544, allocations: 108.9 kB / 1.39 GB, free: 13.36 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.8544, allocations: 111.9 kB / 1.39 GB, free: 13.24 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.184e-05/0.8545, allocations: 188.2 kB / 1.39 GB, free: 13.05 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.712e-05/0.8545, allocations: 176.3 kB / 1.391 GB, free: 12.87 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.921e-05/0.8546, allocations: 180.3 kB / 1.391 GB, free: 12.69 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.8547, allocations: 380.2 kB / 1.391 GB, free: 12.27 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.021e-05/0.8547, allocations: 112.9 kB / 1.391 GB, free: 12.15 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.163e-05/0.8548, allocations: 104.9 kB / 1.391 GB, free: 12.04 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.799e-05/0.8548, allocations: 180.3 kB / 1.391 GB, free: 11.86 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/0.8548, allocations: 176.3 kB / 1.392 GB, free: 11.68 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-05/0.8549, allocations: 180.2 kB / 1.392 GB, free: 11.49 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.76e-05/0.8549, allocations: 184.2 kB / 1.392 GB, free: 11.3 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.632e-05/0.855, allocations: 303.8 kB / 1.392 GB, free: 10.98 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-05/0.8551, allocations: 109.2 kB / 1.392 GB, free: 10.87 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.8551, allocations: 188.2 kB / 1.393 GB, free: 10.68 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.855e-05/0.8552, allocations: 105 kB / 1.393 GB, free: 10.57 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.8552, allocations: 188.2 kB / 1.393 GB, free: 10.38 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.8552, allocations: 101 kB / 1.393 GB, free: 10.27 MB / 1.073 GB Notification: Performance of sorting global known variables: time 3.131e-05/0.8553, allocations: 83.27 kB / 1.393 GB, free: 10.19 MB / 1.073 GB Notification: Performance of sort global known variables: time 6e-08/0.8553, allocations: 3.938 kB / 1.393 GB, free: 10.19 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0001586/0.8554, allocations: 4 kB / 1.393 GB, free: 10.18 MB / 1.073 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 (0): * Single equations (assignments): 0 * 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.0002591/0.8557, allocations: 0.8086 MB / 1.394 GB, free: 9.344 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 4.615e-05/0.8557, allocations: 7.938 kB / 1.394 GB, free: 9.336 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8557, allocations: 3.984 kB / 1.394 GB, free: 9.332 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 1.784e-06/0.8557, allocations: 4 kB / 1.394 GB, free: 9.328 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.856, allocations: 465.4 kB / 1.394 GB, free: 8.871 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.8563, allocations: 182.7 kB / 1.394 GB, free: 8.652 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.842e-05/0.8563, allocations: 67.22 kB / 1.394 GB, free: 8.566 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 2.419e-05/0.8564, allocations: 0 / 1.394 GB, free: 8.566 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.151e-05/0.8564, allocations: 11.44 kB / 1.394 GB, free: 8.555 MB / 1.073 GB Notification: Performance of SimCode: time 3.9e-07/0.8564, allocations: 0 / 1.394 GB, free: 8.555 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07501/0.9314, allocations: 1.829 MB / 1.396 GB, free: 6.805 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.845/7.776, allocations: 5.703 kB / 1.396 GB, free: 6.801 MB / 1.073 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_13_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_13_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_13_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu) > Buildings_13_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_fmpy.pipe ; mkfifo Buildings_13_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_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_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu) > Buildings_13_Buildings.DHC.Loads.BaseClasses.Validation.GetPeakLoad_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.14510934241116]