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.001219/0.001219, 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.00129/0.00129, allocations: 214.8 kB / 23.02 MB, free: 2.973 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.012/1.012, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.028/2.028, allocations: 0.5046 GB / 0.8104 GB, free: 2.734 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.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 0.0009515/0.0009515, allocations: 71.89 kB / 1.177 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7142/0.7152, allocations: 180 MB / 1.352 GB, free: 1.641 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.002538/0.7177, allocations: 2.187 MB / 1.355 GB, free: 15.44 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.1128/0.8306, allocations: 133.6 MB / 1.485 GB, free: 9.289 MB / 1.167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001873/0.8307, allocations: 7.938 kB / 1.485 GB, free: 9.281 MB / 1.167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.8309, allocations: 47.45 kB / 1.485 GB, free: 9.234 MB / 1.167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.8312, allocations: 99.2 kB / 1.485 GB, free: 9.137 MB / 1.167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004658/0.8317, allocations: 299 kB / 1.486 GB, free: 8.844 MB / 1.167 GB Notification: Performance of NFFlatten.flatten: time 0.0003063/0.832, allocations: 435.7 kB / 1.486 GB, free: 8.418 MB / 1.167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.8322, allocations: 72.19 kB / 1.486 GB, free: 8.344 MB / 1.167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008213/0.833, allocations: 287.4 kB / 1.486 GB, free: 8.086 MB / 1.167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.8331, allocations: 167.3 kB / 1.486 GB, free: 7.922 MB / 1.167 GB Notification: Performance of NFPackage.collectConstants: time 3.655e-05/0.8332, allocations: 32 kB / 1.486 GB, free: 7.891 MB / 1.167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003202/0.8335, allocations: 267.6 kB / 1.487 GB, free: 7.629 MB / 1.167 GB Notification: Performance of NFScalarize.scalarize: time 7.234e-05/0.8336, allocations: 75.73 kB / 1.487 GB, free: 7.555 MB / 1.167 GB Notification: Performance of NFVerifyModel.verify: time 9.406e-05/0.8337, allocations: 139.4 kB / 1.487 GB, free: 7.418 MB / 1.167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004334/0.8341, allocations: 0.4942 MB / 1.487 GB, free: 6.922 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.8341, allocations: 0 / 1.487 GB, free: 6.922 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.013e-06/0.8341, allocations: 0 / 1.487 GB, free: 6.922 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.8341, allocations: 0 / 1.487 GB, free: 6.922 MB / 1.167 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.0008556/0.835, allocations: 0.6414 MB / 1.488 GB, free: 6.25 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.835, allocations: 12.88 kB / 1.488 GB, free: 6.238 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.174e-05/0.8351, allocations: 62.73 kB / 1.488 GB, free: 6.168 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/0.8367, allocations: 319.4 kB / 1.488 GB, free: 5.855 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.837, allocations: 249.5 kB / 1.489 GB, free: 5.586 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.837, allocations: 16.66 kB / 1.489 GB, free: 5.57 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.548e-05/0.837, allocations: 28 kB / 1.489 GB, free: 5.543 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008386/0.8379, allocations: 441.7 kB / 1.489 GB, free: 5.102 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.8379, allocations: 3.984 kB / 1.489 GB, free: 5.098 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.8379, allocations: 15.94 kB / 1.489 GB, free: 5.082 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.8379, allocations: 4 kB / 1.489 GB, free: 5.078 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.8391, allocations: 0.5294 MB / 1.49 GB, free: 4.551 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.8409, allocations: 1.038 MB / 1.491 GB, free: 3.469 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.8422, allocations: 438.4 kB / 1.491 GB, free: 3.031 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005173/0.8427, allocations: 220.6 kB / 1.491 GB, free: 2.812 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.8427, allocations: 4 kB / 1.491 GB, free: 2.809 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.8428, allocations: 42.5 kB / 1.491 GB, free: 2.758 MB / 1.167 GB Notification: Performance of pre-optimization done (n=25): time 2.014e-06/0.8428, allocations: 0 / 1.491 GB, free: 2.758 MB / 1.167 GB Notification: Performance of matching and sorting (n=25): time 0.007417/0.8502, allocations: 1.574 MB / 1.493 GB, free: 1.172 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.8502, allocations: 55.41 kB / 1.493 GB, free: 1.105 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.8504, allocations: 316.5 kB / 1.493 GB, free: 0.793 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.8505, allocations: 29.7 kB / 1.493 GB, free: 0.7578 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 9.437e-05/0.8506, allocations: 172.5 kB / 1.493 GB, free: 0.582 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.994e-05/0.8506, allocations: 91.2 kB / 1.493 GB, free: 0.4922 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.8507, allocations: 73.92 kB / 1.494 GB, free: 420 kB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.79e-05/0.8508, allocations: 342.7 kB / 1.494 GB, free: 68 kB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00054/0.8514, allocations: 208.4 kB / 1.494 GB, free: 15.86 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005688/0.8519, allocations: 361.8 kB / 1.494 GB, free: 15.46 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.853, allocations: 446.8 kB / 1.495 GB, free: 15.02 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.853, allocations: 0 / 1.495 GB, free: 15.02 MB / 1.182 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.003227/0.8562, allocations: 0.9006 MB / 1.496 GB, free: 14.11 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.8562, allocations: 4 kB / 1.496 GB, free: 14.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.8562, allocations: 4 kB / 1.496 GB, free: 14.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009338/0.8571, allocations: 285.3 kB / 1.496 GB, free: 13.81 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.8574, allocations: 67.89 kB / 1.496 GB, free: 13.75 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00751/0.8649, allocations: 3.854 MB / 1.5 GB, free: 9.664 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.8653, allocations: 75.69 kB / 1.5 GB, free: 9.59 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.8653, allocations: 15.97 kB / 1.5 GB, free: 9.574 MB / 1.182 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.0001411/0.8654, allocations: 145.8 kB / 1.5 GB, free: 9.422 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.266e-05/0.8655, allocations: 35.77 kB / 1.5 GB, free: 9.387 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003318/0.8688, allocations: 0.9545 MB / 1.501 GB, free: 8.422 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.8688, allocations: 4 kB / 1.501 GB, free: 8.418 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.8688, allocations: 0 / 1.501 GB, free: 8.418 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.8688, allocations: 0 / 1.501 GB, free: 8.418 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003488/0.8723, allocations: 1.271 MB / 1.502 GB, free: 7.086 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.8723, allocations: 0 / 1.502 GB, free: 7.086 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.8725, allocations: 55.94 kB / 1.502 GB, free: 7.031 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000826/0.8733, allocations: 281.4 kB / 1.503 GB, free: 6.75 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.8734, allocations: 19.91 kB / 1.503 GB, free: 6.73 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00671/0.8801, allocations: 3.839 MB / 1.506 GB, free: 2.66 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8801, allocations: 3.984 kB / 1.506 GB, free: 2.656 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003201/0.8833, allocations: 0.9754 MB / 1.507 GB, free: 1.652 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.8833, allocations: 35.73 kB / 1.507 GB, free: 1.617 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.8833, allocations: 7.953 kB / 1.507 GB, free: 1.609 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003229/0.8837, allocations: 43.95 kB / 1.507 GB, free: 1.566 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.8837, allocations: 27.89 kB / 1.507 GB, free: 1.539 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.8838, allocations: 15.97 kB / 1.507 GB, free: 1.523 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.0001507/0.8839, allocations: 227.1 kB / 1.508 GB, free: 1.301 MB / 1.182 GB Notification: Performance of sort global known variables: time 8e-08/0.8839, allocations: 0 / 1.508 GB, free: 1.301 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.0003873/0.8843, allocations: 111.9 kB / 1.508 GB, free: 1.191 MB / 1.182 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.003456/0.8877, allocations: 1.546 MB / 1.509 GB, free: 15.61 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.001451/0.8892, allocations: 0.7155 MB / 1.51 GB, free: 14.87 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8892, allocations: 0 / 1.51 GB, free: 14.87 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007256/0.8899, allocations: 497.3 kB / 1.51 GB, free: 14.36 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.8903, allocations: 119.5 kB / 1.511 GB, free: 14.24 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009564/0.8999, allocations: 4.446 MB / 1.515 GB, free: 9.672 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.9, allocations: 160.5 kB / 1.515 GB, free: 9.496 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.0002788/0.9003, allocations: 82.88 kB / 1.515 GB, free: 9.418 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.9005, allocations: 99.39 kB / 1.515 GB, free: 9.32 MB / 1.198 GB Notification: Performance of SimCode: time 9.02e-07/0.9005, allocations: 4 kB / 1.515 GB, free: 9.316 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1032/1.004, allocations: 18.33 MB / 1.533 GB, free: 7.262 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.529/9.533, allocations: 13.06 kB / 1.533 GB, free: 7.254 MB / 1.214 GB " [Timeout remaining time 290] (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: 14.502401154488325]