Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001302/0.001302, allocations: 114.3 kB / 18.94 MB, free: 2.793 MB / 14.72 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.001452/0.001452, allocations: 219.9 kB / 22.26 MB, free: 5.211 MB / 14.72 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.173/3.173, allocations: 0.49 GB / 0.7951 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_12_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 76.83 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3764, allocations: 176.1 MB / 1.326 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.004953/0.3814, allocations: 2.342 MB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1908/0.5722, allocations: 155.4 MB / 1.48 GB, free: 3.629 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002764/0.5725, allocations: 11.94 kB / 1.48 GB, free: 3.617 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.5727, allocations: 47.45 kB / 1.48 GB, free: 3.57 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003975/0.5731, allocations: 99.14 kB / 1.48 GB, free: 3.473 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008706/0.574, allocations: 303 kB / 1.48 GB, free: 3.176 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0005534/0.5745, allocations: 435.6 kB / 1.481 GB, free: 2.742 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.5748, allocations: 81.94 kB / 1.481 GB, free: 2.66 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.5763, allocations: 288.5 kB / 1.481 GB, free: 2.402 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.5766, allocations: 195.2 kB / 1.481 GB, free: 2.211 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.113e-05/0.5766, allocations: 28 kB / 1.481 GB, free: 2.184 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006222/0.5773, allocations: 287.6 kB / 1.482 GB, free: 1.902 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.5774, allocations: 79.72 kB / 1.482 GB, free: 1.824 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.5776, allocations: 163.2 kB / 1.482 GB, free: 1.664 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0007363/0.5783, allocations: 0.4942 MB / 1.482 GB, free: 1.168 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5783, allocations: 0 / 1.482 GB, free: 1.168 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5783, allocations: 0 / 1.482 GB, free: 1.168 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.5783, allocations: 0 / 1.482 GB, free: 1.168 MB / 1.17 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.00156/0.5799, allocations: 0.6414 MB / 1.483 GB, free: 0.4961 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.5799, allocations: 12.03 kB / 1.483 GB, free: 496 kB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.38e-05/0.58, allocations: 62.73 kB / 1.483 GB, free: 424 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003135/0.5831, allocations: 291.4 kB / 1.483 GB, free: 132 kB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.5836, allocations: 237.6 kB / 1.484 GB, free: 15.87 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.5836, allocations: 24.66 kB / 1.484 GB, free: 15.85 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/0.5837, allocations: 28 kB / 1.484 GB, free: 15.82 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.5852, allocations: 425.8 kB / 1.484 GB, free: 15.4 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.5852, allocations: 0 / 1.484 GB, free: 15.4 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.101e-05/0.5853, allocations: 19.94 kB / 1.484 GB, free: 15.38 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.5853, allocations: 8 kB / 1.484 GB, free: 15.37 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002378/0.5876, allocations: 0.5294 MB / 1.485 GB, free: 14.84 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003229/0.5909, allocations: 1.1 MB / 1.486 GB, free: 13.7 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002337/0.5932, allocations: 446.3 kB / 1.486 GB, free: 13.25 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.5943, allocations: 216.7 kB / 1.486 GB, free: 13.04 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 5.152e-05/0.5943, allocations: 7.984 kB / 1.486 GB, free: 13.03 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.5944, allocations: 42.44 kB / 1.486 GB, free: 12.98 MB / 1.186 GB Notification: Performance of pre-optimization done (n=25): time 3.125e-06/0.5944, allocations: 0 / 1.486 GB, free: 12.98 MB / 1.186 GB Notification: Performance of matching and sorting (n=25): time 0.01623/0.6106, allocations: 1.578 MB / 1.488 GB, free: 11.39 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/0.6107, allocations: 55.41 kB / 1.488 GB, free: 11.32 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004781/0.6112, allocations: 304.6 kB / 1.488 GB, free: 11.02 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.6113, allocations: 29.7 kB / 1.488 GB, free: 10.98 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.6114, allocations: 172.5 kB / 1.488 GB, free: 10.81 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.6116, allocations: 91.2 kB / 1.488 GB, free: 10.72 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.6118, allocations: 77.88 kB / 1.489 GB, free: 10.63 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.6119, allocations: 346.7 kB / 1.489 GB, free: 10.29 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.613, allocations: 200.4 kB / 1.489 GB, free: 10.09 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.6141, allocations: 259 kB / 1.489 GB, free: 9.816 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002156/0.6162, allocations: 446.8 kB / 1.49 GB, free: 9.371 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.6162, allocations: 0 / 1.49 GB, free: 9.371 MB / 1.186 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007227/0.6235, allocations: 0.8851 MB / 1.491 GB, free: 8.473 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.6235, allocations: 7.984 kB / 1.491 GB, free: 8.465 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.6235, allocations: 4 kB / 1.491 GB, free: 8.461 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001958/0.6255, allocations: 281.4 kB / 1.491 GB, free: 8.18 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005344/0.626, allocations: 71.88 kB / 1.491 GB, free: 8.109 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01547/0.6415, allocations: 3.877 MB / 1.495 GB, free: 4 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009241/0.6424, allocations: 75.69 kB / 1.495 GB, free: 3.926 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/0.6424, allocations: 19.91 kB / 1.495 GB, free: 3.906 MB / 1.186 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.0002591/0.6427, allocations: 141.8 kB / 1.495 GB, free: 3.758 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.942e-05/0.6428, allocations: 39.77 kB / 1.495 GB, free: 3.719 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007417/0.6502, allocations: 0.9467 MB / 1.496 GB, free: 2.758 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.6502, allocations: 4 kB / 1.496 GB, free: 2.754 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.6502, allocations: 0 / 1.496 GB, free: 2.754 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.6502, allocations: 3.984 kB / 1.496 GB, free: 2.75 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006402/0.6509, allocations: 400 kB / 1.496 GB, free: 2.316 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6509, allocations: 0 / 1.496 GB, free: 2.316 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004363/0.6513, allocations: 59.89 kB / 1.496 GB, free: 2.258 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001845/0.6532, allocations: 273.4 kB / 1.497 GB, free: 1.984 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.858e-05/0.6532, allocations: 23.97 kB / 1.497 GB, free: 1.961 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01505/0.6683, allocations: 3.87 MB / 1.5 GB, free: 13.86 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6683, allocations: 0 / 1.5 GB, free: 13.86 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007425/0.6757, allocations: 0.9611 MB / 1.501 GB, free: 12.88 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.6758, allocations: 35.75 kB / 1.501 GB, free: 12.84 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.172e-05/0.6759, allocations: 7.938 kB / 1.501 GB, free: 12.83 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007491/0.6766, allocations: 43.95 kB / 1.501 GB, free: 12.79 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.6767, allocations: 27.84 kB / 1.501 GB, free: 12.76 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/0.6768, allocations: 19.97 kB / 1.501 GB, free: 12.74 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002943/0.6771, allocations: 223 kB / 1.502 GB, free: 12.53 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6771, allocations: 4 kB / 1.502 GB, free: 12.52 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006789/0.6778, allocations: 111.9 kB / 1.502 GB, free: 12.41 MB / 1.201 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 (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.007534/0.6853, allocations: 1.511 MB / 1.503 GB, free: 10.87 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002986/0.6883, allocations: 0.7158 MB / 1.504 GB, free: 10.13 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6883, allocations: 0 / 1.504 GB, free: 10.13 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001633/0.6899, allocations: 0.4932 MB / 1.504 GB, free: 9.609 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008305/0.6907, allocations: 107.4 kB / 1.505 GB, free: 9.508 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02032/0.7111, allocations: 4.384 MB / 1.509 GB, free: 5.02 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.7115, allocations: 0.7684 MB / 1.51 GB, free: 4.223 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0004664/0.712, allocations: 78.88 kB / 1.51 GB, free: 4.145 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.7122, allocations: 99.39 kB / 1.51 GB, free: 4.047 MB / 1.201 GB Notification: Performance of SimCode: time 1.292e-06/0.7122, allocations: 0 / 1.51 GB, free: 4.047 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05654/0.7687, allocations: 17.08 MB / 1.526 GB, free: 3.176 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/14.06, allocations: 10.17 kB / 1.526 GB, free: 3.168 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable theCom.M in file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.M from file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.TOpe in file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.TOpe from file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.TAir in file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.TAir from file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.TRad in file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.TRad from file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.TSki in file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.TSki from file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.vAir in file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.vAir from file Buildings_12_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.922207166997396]