Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Comfort.Examples.Fanger.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.001285/0.001285, allocations: 80.45 kB / 19.96 MB, free: 4.594 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.001305/0.001305, allocations: 173.2 kB / 23.24 MB, free: 1.316 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.889/0.889, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.853/1.853, allocations: 389.6 MB / 0.6343 GB, free: 12.57 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.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_13_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_13_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 1.001 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.061e-05, allocations: 2.281 kB / 1.001 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002593/0.002614, allocations: 2.199 MB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.56/0.5626, allocations: 133.6 MB / 1.133 GB, free: 15.73 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002297/0.5629, allocations: 11.47 kB / 1.133 GB, free: 15.73 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.5631, allocations: 49.05 kB / 1.133 GB, free: 15.69 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0003776/0.5634, allocations: 105.1 kB / 1.133 GB, free: 15.62 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007925/0.5642, allocations: 313.1 kB / 1.134 GB, free: 15.46 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0004255/0.5646, allocations: 439.3 kB / 1.134 GB, free: 15.25 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.5648, allocations: 70.92 kB / 1.134 GB, free: 15.22 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.5659, allocations: 362.1 kB / 1.135 GB, free: 15.11 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.5661, allocations: 147.3 kB / 1.135 GB, free: 15.07 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.711e-05/0.5662, allocations: 30.28 kB / 1.135 GB, free: 15.07 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004901/0.5667, allocations: 272.1 kB / 1.135 GB, free: 15 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 8.83e-05/0.5668, allocations: 82.39 kB / 1.135 GB, free: 14.95 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.5669, allocations: 111 kB / 1.135 GB, free: 14.9 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0006262/0.5675, allocations: 0.5335 MB / 1.136 GB, free: 14.7 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5675, allocations: 3.938 kB / 1.136 GB, free: 14.69 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5675, allocations: 0 / 1.136 GB, free: 14.69 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.5675, allocations: 0 / 1.136 GB, free: 14.69 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009444/0.5685, allocations: 0.6336 MB / 1.136 GB, free: 14.25 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.5685, allocations: 10.8 kB / 1.136 GB, free: 14.25 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.259e-05/0.5686, allocations: 70.3 kB / 1.136 GB, free: 14.19 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001772/0.5703, allocations: 316 kB / 1.137 GB, free: 14.15 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.5707, allocations: 245.8 kB / 1.137 GB, free: 13.95 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.5707, allocations: 19.66 kB / 1.137 GB, free: 13.95 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.5707, allocations: 27.19 kB / 1.137 GB, free: 13.94 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008857/0.5716, allocations: 436.8 kB / 1.137 GB, free: 13.79 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.5716, allocations: 5.703 kB / 1.137 GB, free: 13.79 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/0.5717, allocations: 10.16 kB / 1.137 GB, free: 13.78 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.5717, allocations: 8.938 kB / 1.137 GB, free: 13.78 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.5729, allocations: 0.5202 MB / 1.138 GB, free: 13.63 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.5748, allocations: 1.024 MB / 1.139 GB, free: 13.1 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.5761, allocations: 449 kB / 1.139 GB, free: 12.95 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005692/0.5767, allocations: 218.4 kB / 1.14 GB, free: 12.89 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/0.5767, allocations: 8.781 kB / 1.14 GB, free: 12.88 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.5767, allocations: 37.41 kB / 1.14 GB, free: 12.84 MB / 1.01 GB Notification: Performance of pre-optimization done (n=25): time 2.385e-06/0.5767, allocations: 1.375 kB / 1.14 GB, free: 12.84 MB / 1.01 GB Notification: Performance of matching and sorting (n=25): time 0.008093/0.5848, allocations: 1.583 MB / 1.141 GB, free: 12.5 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.5849, allocations: 56.34 kB / 1.141 GB, free: 12.44 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.5851, allocations: 311.9 kB / 1.141 GB, free: 12.27 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.5852, allocations: 31.14 kB / 1.142 GB, free: 12.23 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.5853, allocations: 167.6 kB / 1.142 GB, free: 12.09 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.021e-05/0.5854, allocations: 91.91 kB / 1.142 GB, free: 12.02 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.5855, allocations: 75.86 kB / 1.142 GB, free: 11.98 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.5856, allocations: 344.3 kB / 1.142 GB, free: 11.65 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005944/0.5862, allocations: 199.2 kB / 1.142 GB, free: 11.6 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006617/0.5868, allocations: 365 kB / 1.143 GB, free: 11.36 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.588, allocations: 437.8 kB / 1.143 GB, free: 11.2 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.588, allocations: 0 / 1.143 GB, free: 11.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.003652/0.5917, allocations: 0.8999 MB / 1.144 GB, free: 10.95 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.5917, allocations: 9.797 kB / 1.144 GB, free: 10.94 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.5917, allocations: 4.125 kB / 1.144 GB, free: 10.94 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.5927, allocations: 277.2 kB / 1.144 GB, free: 10.88 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.593, allocations: 66.61 kB / 1.144 GB, free: 10.88 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007869/0.6009, allocations: 3.843 MB / 1.148 GB, free: 8.07 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004628/0.6013, allocations: 72.09 kB / 1.148 GB, free: 8.043 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.6014, allocations: 25.47 kB / 1.148 GB, free: 8.035 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001721/0.6016, allocations: 141.2 kB / 1.148 GB, free: 7.902 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.6016, allocations: 34.48 kB / 1.148 GB, free: 7.883 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00373/0.6054, allocations: 0.9529 MB / 1.149 GB, free: 7.613 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.6054, allocations: 2.969 kB / 1.149 GB, free: 7.613 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.6054, allocations: 2.797 kB / 1.149 GB, free: 7.613 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.6054, allocations: 2.484 kB / 1.149 GB, free: 7.613 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004114/0.6095, allocations: 1.282 MB / 1.151 GB, free: 7.047 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.6095, allocations: 1.094 kB / 1.151 GB, free: 7.047 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.6097, allocations: 51.11 kB / 1.151 GB, free: 7.047 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001013/0.6107, allocations: 281.7 kB / 1.151 GB, free: 6.984 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.443e-05/0.6108, allocations: 16.59 kB / 1.151 GB, free: 6.98 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007831/0.6186, allocations: 3.825 MB / 1.155 GB, free: 4.188 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6186, allocations: 6.875 kB / 1.155 GB, free: 4.184 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003813/0.6224, allocations: 0.9712 MB / 1.156 GB, free: 3.832 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.98e-05/0.6225, allocations: 36.53 kB / 1.156 GB, free: 3.809 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.283e-05/0.6226, allocations: 11.5 kB / 1.156 GB, free: 3.801 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/0.623, allocations: 45.5 kB / 1.156 GB, free: 3.793 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-05/0.623, allocations: 25.42 kB / 1.156 GB, free: 3.785 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/0.6231, allocations: 19.59 kB / 1.156 GB, free: 3.781 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002279/0.6233, allocations: 220.2 kB / 1.156 GB, free: 3.66 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6233, allocations: 1.062 kB / 1.156 GB, free: 3.66 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005274/0.6238, allocations: 113.5 kB / 1.156 GB, free: 3.645 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004203/0.628, allocations: 1.521 MB / 1.158 GB, free: 2.762 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001844/0.6299, allocations: 0.7208 MB / 1.158 GB, free: 2.406 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6299, allocations: 0 / 1.158 GB, free: 2.406 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009166/0.6308, allocations: 0.4891 MB / 1.159 GB, free: 2.121 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.6313, allocations: 111.3 kB / 1.159 GB, free: 2.09 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.6424, allocations: 4.465 MB / 1.163 GB, free: 15.9 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.6425, allocations: 162.6 kB / 1.163 GB, free: 15.81 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0003454/0.6429, allocations: 81.2 kB / 1.163 GB, free: 15.77 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.643, allocations: 99.72 kB / 1.163 GB, free: 15.7 MB / 1.026 GB Notification: Performance of SimCode: time 9.22e-07/0.643, allocations: 0 / 1.163 GB, free: 15.7 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1184/0.7615, allocations: 18.19 MB / 1.181 GB, free: 9.812 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.282/9.044, allocations: 4.031 kB / 1.181 GB, free: 9.812 MB / 1.026 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_13_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_13_Buildings.Utilities.Comfort.Examples.Fanger.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Comfort_Examples_Fanger.fmu) > Buildings_13_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Comfort.Examples.Fanger_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Comfort.Examples.Fanger_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Comfort.Examples.Fanger_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Comfort.Examples.Fanger_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Comfort.Examples.Fanger_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_Utilities_Comfort_Examples_Fanger.fmu) > Buildings_13_Buildings.Utilities.Comfort.Examples.Fanger_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.599985495209694]