Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002233/0.002233, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001558/0.001558, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.731/2.731, allocations: 476 MB / 0.7699 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_11_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.002159/0.002159, allocations: 67.03 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3008, allocations: 170 MB / 1.283 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003815/0.3046, allocations: 2.189 MB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1703/0.4749, allocations: 133.6 MB / 1.415 GB, free: 4.176 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002252/0.4751, allocations: 7.938 kB / 1.415 GB, free: 4.168 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.4753, allocations: 51.45 kB / 1.415 GB, free: 4.117 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0003801/0.4757, allocations: 103.2 kB / 1.415 GB, free: 4.016 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008239/0.4765, allocations: 307 kB / 1.416 GB, free: 3.715 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0005299/0.4771, allocations: 431.7 kB / 1.416 GB, free: 3.293 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.4773, allocations: 64.3 kB / 1.416 GB, free: 3.227 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001588/0.4789, allocations: 310.2 kB / 1.416 GB, free: 2.949 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.4791, allocations: 163.3 kB / 1.417 GB, free: 2.789 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 6.051e-05/0.4792, allocations: 32 kB / 1.417 GB, free: 2.758 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005348/0.4797, allocations: 267.6 kB / 1.417 GB, free: 2.496 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.4798, allocations: 83.72 kB / 1.417 GB, free: 2.414 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.48, allocations: 135.4 kB / 1.417 GB, free: 2.281 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0006739/0.4807, allocations: 0.4919 MB / 1.418 GB, free: 1.789 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.4807, allocations: 4 kB / 1.418 GB, free: 1.785 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4807, allocations: 0 / 1.418 GB, free: 1.785 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.4807, allocations: 0 / 1.418 GB, free: 1.785 MB / 1.107 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.001452/0.4821, allocations: 0.6375 MB / 1.418 GB, free: 1.117 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.4822, allocations: 8.031 kB / 1.418 GB, free: 1.109 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.898e-05/0.4823, allocations: 66.66 kB / 1.418 GB, free: 1.035 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002901/0.4852, allocations: 287.4 kB / 1.418 GB, free: 0.7539 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004686/0.4856, allocations: 249.6 kB / 1.419 GB, free: 496 kB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.4856, allocations: 24.64 kB / 1.419 GB, free: 472 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.708e-05/0.4857, allocations: 24 kB / 1.419 GB, free: 448 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.4872, allocations: 437.7 kB / 1.419 GB, free: 0 / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.4872, allocations: 0 / 1.419 GB, free: 0 / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.461e-05/0.4873, allocations: 16.02 kB / 1.419 GB, free: 15.98 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.4873, allocations: 4 kB / 1.419 GB, free: 15.98 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002306/0.4896, allocations: 0.5178 MB / 1.42 GB, free: 15.46 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003259/0.4928, allocations: 1.037 MB / 1.421 GB, free: 14.38 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/0.4951, allocations: 438.4 kB / 1.421 GB, free: 13.95 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.4961, allocations: 216.7 kB / 1.421 GB, free: 13.73 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 4.413e-05/0.4962, allocations: 4 kB / 1.421 GB, free: 13.73 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.4962, allocations: 42.5 kB / 1.421 GB, free: 13.68 MB / 1.123 GB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.4962, allocations: 0 / 1.421 GB, free: 13.68 MB / 1.123 GB Notification: Performance of matching and sorting (n=25): time 0.01543/0.5116, allocations: 1.579 MB / 1.423 GB, free: 12.09 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.5117, allocations: 51.41 kB / 1.423 GB, free: 12.02 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.5121, allocations: 308.5 kB / 1.423 GB, free: 11.71 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.183e-05/0.5121, allocations: 29.7 kB / 1.423 GB, free: 11.68 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.5123, allocations: 172.5 kB / 1.423 GB, free: 11.5 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.5124, allocations: 91.2 kB / 1.424 GB, free: 11.41 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.5125, allocations: 81.88 kB / 1.424 GB, free: 11.32 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.5127, allocations: 346.8 kB / 1.424 GB, free: 10.98 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.5138, allocations: 204.4 kB / 1.424 GB, free: 10.78 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.515, allocations: 369.7 kB / 1.425 GB, free: 10.37 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002118/0.5171, allocations: 427.9 kB / 1.425 GB, free: 9.945 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.5171, allocations: 4 kB / 1.425 GB, free: 9.941 MB / 1.123 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006829/0.5239, allocations: 0.8968 MB / 1.426 GB, free: 9.031 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.524, allocations: 6.031 kB / 1.426 GB, free: 9.027 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.524, allocations: 0 / 1.426 GB, free: 9.027 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001878/0.5258, allocations: 281.4 kB / 1.426 GB, free: 8.746 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/0.5263, allocations: 67.83 kB / 1.426 GB, free: 8.68 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01458/0.5409, allocations: 3.858 MB / 1.43 GB, free: 4.59 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008301/0.5417, allocations: 71.75 kB / 1.43 GB, free: 4.52 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.416e-05/0.5418, allocations: 15.97 kB / 1.43 GB, free: 4.504 MB / 1.123 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.0002154/0.542, allocations: 145.8 kB / 1.43 GB, free: 4.352 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.75e-05/0.5421, allocations: 31.81 kB / 1.43 GB, free: 4.32 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006961/0.5491, allocations: 0.9542 MB / 1.431 GB, free: 3.355 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.5491, allocations: 0 / 1.431 GB, free: 3.355 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.5491, allocations: 8 kB / 1.431 GB, free: 3.348 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.5491, allocations: 3.938 kB / 1.431 GB, free: 3.344 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005374/0.5496, allocations: 328.3 kB / 1.431 GB, free: 2.98 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5496, allocations: 0 / 1.431 GB, free: 2.98 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.55, allocations: 59.89 kB / 1.431 GB, free: 2.922 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/0.5518, allocations: 273.4 kB / 1.432 GB, free: 2.648 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.188e-05/0.5519, allocations: 15.97 kB / 1.432 GB, free: 2.633 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01419/0.5661, allocations: 3.838 MB / 1.435 GB, free: 14.56 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5661, allocations: 3.984 kB / 1.436 GB, free: 14.55 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006907/0.573, allocations: 0.9611 MB / 1.436 GB, free: 13.57 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.981e-05/0.5731, allocations: 27.75 kB / 1.436 GB, free: 13.54 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.299e-05/0.5732, allocations: 11.98 kB / 1.436 GB, free: 13.53 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007233/0.5739, allocations: 43.95 kB / 1.437 GB, free: 13.49 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.587e-05/0.574, allocations: 23.91 kB / 1.437 GB, free: 13.46 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/0.574, allocations: 15.97 kB / 1.437 GB, free: 13.45 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002598/0.5743, allocations: 223.1 kB / 1.437 GB, free: 13.23 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5743, allocations: 4 kB / 1.437 GB, free: 13.23 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005735/0.5748, allocations: 107.9 kB / 1.437 GB, free: 13.12 MB / 1.139 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.007205/0.582, allocations: 1.521 MB / 1.438 GB, free: 11.57 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002838/0.5849, allocations: 0.7162 MB / 1.439 GB, free: 10.82 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5849, allocations: 4 kB / 1.439 GB, free: 10.82 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.5864, allocations: 497.1 kB / 1.44 GB, free: 10.31 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007168/0.5872, allocations: 109.2 kB / 1.44 GB, free: 10.2 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01869/0.6059, allocations: 4.389 MB / 1.444 GB, free: 5.711 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.606, allocations: 156.5 kB / 1.444 GB, free: 5.535 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0004356/0.6065, allocations: 82.86 kB / 1.444 GB, free: 5.453 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.6067, allocations: 99.39 kB / 1.444 GB, free: 5.355 MB / 1.139 GB Notification: Performance of SimCode: time 6.31e-07/0.6067, allocations: 4 kB / 1.444 GB, free: 5.352 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0542/0.6609, allocations: 18.43 MB / 1.462 GB, free: 3.211 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/13.97, allocations: 6.953 kB / 1.462 GB, free: 3.207 MB / 1.154 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.M from file Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.TOpe in file Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.TOpe from file Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.TAir in file Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.TAir from file Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.TRad in file Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.TRad from file Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.TSki in file Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.TSki from file Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.vAir in file Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.vAir from file Buildings_11_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.548434131313115]