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.001676/0.001676, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001953/0.001953, allocations: 213.8 kB / 22.25 MB, free: 4.859 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.559/1.559, allocations: 230.6 MB / 256 MB, free: 7.793 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.204/3.204, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 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.002082/0.002082, allocations: 68.89 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3264, allocations: 176.1 MB / 1.325 GB, free: 2.41 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.004153/0.3306, allocations: 2.199 MB / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1863/0.5169, allocations: 133.6 MB / 1.458 GB, free: 10.07 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.5171, allocations: 11.94 kB / 1.458 GB, free: 10.05 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.5173, allocations: 47.47 kB / 1.458 GB, free: 10.01 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.5176, allocations: 99.17 kB / 1.458 GB, free: 9.91 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.000692/0.5183, allocations: 303 kB / 1.458 GB, free: 9.613 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004805/0.5188, allocations: 435.6 kB / 1.459 GB, free: 9.18 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.519, allocations: 76.17 kB / 1.459 GB, free: 9.102 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.5205, allocations: 283.2 kB / 1.459 GB, free: 8.848 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.5208, allocations: 167.2 kB / 1.459 GB, free: 8.684 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.868e-05/0.5208, allocations: 35.94 kB / 1.459 GB, free: 8.648 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005212/0.5213, allocations: 267.6 kB / 1.459 GB, free: 8.387 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.5214, allocations: 79.72 kB / 1.459 GB, free: 8.309 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.5216, allocations: 135.4 kB / 1.46 GB, free: 8.176 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0007138/0.5223, allocations: 0.4903 MB / 1.46 GB, free: 7.684 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5223, allocations: 4 kB / 1.46 GB, free: 7.68 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5223, allocations: 0 / 1.46 GB, free: 7.68 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.5223, allocations: 0 / 1.46 GB, free: 7.68 MB / 1.154 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.001525/0.5239, allocations: 0.6453 MB / 1.461 GB, free: 7.004 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.5239, allocations: 8.031 kB / 1.461 GB, free: 6.996 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.076e-05/0.524, allocations: 66.67 kB / 1.461 GB, free: 6.922 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002891/0.5269, allocations: 287.4 kB / 1.461 GB, free: 6.641 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005002/0.5274, allocations: 245.6 kB / 1.461 GB, free: 6.375 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.5274, allocations: 28.66 kB / 1.461 GB, free: 6.348 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.768e-05/0.5275, allocations: 24 kB / 1.461 GB, free: 6.324 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.529, allocations: 429.8 kB / 1.462 GB, free: 5.898 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.529, allocations: 0 / 1.462 GB, free: 5.898 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.803e-05/0.529, allocations: 15.94 kB / 1.462 GB, free: 5.883 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.529, allocations: 8 kB / 1.462 GB, free: 5.875 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.5313, allocations: 0.5255 MB / 1.462 GB, free: 5.348 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003081/0.5344, allocations: 1.018 MB / 1.463 GB, free: 4.285 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002267/0.5366, allocations: 442.3 kB / 1.464 GB, free: 3.844 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.5377, allocations: 212.7 kB / 1.464 GB, free: 3.633 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 4.723e-05/0.5377, allocations: 7.984 kB / 1.464 GB, free: 3.625 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.5377, allocations: 42.5 kB / 1.464 GB, free: 3.574 MB / 1.154 GB Notification: Performance of pre-optimization done (n=25): time 2.084e-06/0.5378, allocations: 3.938 kB / 1.464 GB, free: 3.57 MB / 1.154 GB Notification: Performance of matching and sorting (n=25): time 0.01535/0.5531, allocations: 1.581 MB / 1.465 GB, free: 1.977 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.5531, allocations: 51.41 kB / 1.465 GB, free: 1.914 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004014/0.5535, allocations: 304.6 kB / 1.466 GB, free: 1.609 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.324e-05/0.5536, allocations: 29.7 kB / 1.466 GB, free: 1.574 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.5538, allocations: 172.5 kB / 1.466 GB, free: 1.402 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.5539, allocations: 91.2 kB / 1.466 GB, free: 1.312 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.554, allocations: 77.92 kB / 1.466 GB, free: 1.227 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.5542, allocations: 350.7 kB / 1.466 GB, free: 0.875 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.5553, allocations: 196.4 kB / 1.467 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/0.5564, allocations: 365.8 kB / 1.467 GB, free: 288 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002097/0.5585, allocations: 438.8 kB / 1.467 GB, free: 15.84 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.5585, allocations: 4 kB / 1.467 GB, free: 15.84 MB / 1.17 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006965/0.5655, allocations: 0.889 MB / 1.468 GB, free: 14.94 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.5655, allocations: 4 kB / 1.468 GB, free: 14.93 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.5655, allocations: 0 / 1.468 GB, free: 14.93 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001868/0.5674, allocations: 281.4 kB / 1.469 GB, free: 14.65 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005075/0.5679, allocations: 67.81 kB / 1.469 GB, free: 14.59 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/0.5825, allocations: 3.873 MB / 1.472 GB, free: 10.48 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008117/0.5833, allocations: 71.75 kB / 1.472 GB, free: 10.41 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/0.5833, allocations: 15.97 kB / 1.472 GB, free: 10.4 MB / 1.17 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.0002304/0.5836, allocations: 145.8 kB / 1.473 GB, free: 10.25 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.5837, allocations: 31.81 kB / 1.473 GB, free: 10.21 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006964/0.5906, allocations: 0.9503 MB / 1.474 GB, free: 9.25 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5906, allocations: 0 / 1.474 GB, free: 9.25 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.5906, allocations: 4 kB / 1.474 GB, free: 9.246 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.5906, allocations: 3.984 kB / 1.474 GB, free: 9.242 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005126/0.5911, allocations: 336.2 kB / 1.474 GB, free: 8.871 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.5911, allocations: 0 / 1.474 GB, free: 8.871 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003936/0.5915, allocations: 55.95 kB / 1.474 GB, free: 8.816 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001768/0.5933, allocations: 277.4 kB / 1.474 GB, free: 8.539 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.225e-05/0.5933, allocations: 19.91 kB / 1.474 GB, free: 8.52 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01429/0.6076, allocations: 3.835 MB / 1.478 GB, free: 4.453 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6076, allocations: 0 / 1.478 GB, free: 4.453 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006994/0.6146, allocations: 0.9652 MB / 1.479 GB, free: 3.465 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-05/0.6147, allocations: 31.73 kB / 1.479 GB, free: 3.434 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.427e-05/0.6148, allocations: 11.94 kB / 1.479 GB, free: 3.422 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007287/0.6155, allocations: 43.95 kB / 1.479 GB, free: 3.379 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.6157, allocations: 27.89 kB / 1.479 GB, free: 3.352 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.428e-05/0.6157, allocations: 19.95 kB / 1.479 GB, free: 3.332 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002883/0.616, allocations: 223.1 kB / 1.479 GB, free: 3.117 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.616, allocations: 4 kB / 1.479 GB, free: 3.113 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006102/0.6166, allocations: 115.9 kB / 1.479 GB, free: 3 MB / 1.17 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.0073/0.6239, allocations: 1.516 MB / 1.481 GB, free: 1.453 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00288/0.6268, allocations: 0.7121 MB / 1.482 GB, free: 0.7148 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6268, allocations: 4 kB / 1.482 GB, free: 0.7109 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.6284, allocations: 497.1 kB / 1.482 GB, free: 204 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007016/0.6291, allocations: 109.2 kB / 1.482 GB, free: 96 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02196/0.6511, allocations: 4.395 MB / 1.486 GB, free: 11.6 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.6514, allocations: 160.5 kB / 1.487 GB, free: 11.42 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007536/0.6521, allocations: 78.88 kB / 1.487 GB, free: 11.34 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/0.6525, allocations: 103.4 kB / 1.487 GB, free: 11.24 MB / 1.186 GB Notification: Performance of SimCode: time 1.383e-06/0.6525, allocations: 3.938 kB / 1.487 GB, free: 11.23 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08527/0.7377, allocations: 18.42 MB / 1.505 GB, free: 9.098 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/14.18, allocations: 17.91 kB / 1.505 GB, free: 9.082 MB / 1.201 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: 21.129490708000958]