Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00129/0.00129, 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.001424/0.001424, allocations: 211.8 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.477/1.477, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.39/3.39, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_latest_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.002198/0.002198, allocations: 77.91 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3789, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003886/0.3828, allocations: 2.192 MB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.187/0.5699, allocations: 133.6 MB / 1.496 GB, free: 5.777 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002226/0.5701, allocations: 7.938 kB / 1.496 GB, free: 5.77 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.5703, allocations: 51.45 kB / 1.496 GB, free: 5.719 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0003711/0.5707, allocations: 95.2 kB / 1.496 GB, free: 5.625 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007876/0.5715, allocations: 306.9 kB / 1.496 GB, free: 5.324 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0004907/0.5719, allocations: 431.7 kB / 1.497 GB, free: 4.898 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.5721, allocations: 72.27 kB / 1.497 GB, free: 4.824 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001542/0.5737, allocations: 298.1 kB / 1.497 GB, free: 4.555 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.574, allocations: 163.3 kB / 1.497 GB, free: 4.395 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 6.024e-05/0.574, allocations: 32 kB / 1.497 GB, free: 4.363 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005547/0.5746, allocations: 271.6 kB / 1.498 GB, free: 4.098 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.5747, allocations: 79.73 kB / 1.498 GB, free: 4.02 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.5748, allocations: 139.4 kB / 1.498 GB, free: 3.883 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0007153/0.5755, allocations: 0.4902 MB / 1.498 GB, free: 3.391 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5755, allocations: 0 / 1.498 GB, free: 3.391 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5755, allocations: 0 / 1.498 GB, free: 3.391 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.5756, allocations: 0 / 1.498 GB, free: 3.391 MB / 1.186 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.001495/0.5771, allocations: 0.6414 MB / 1.499 GB, free: 2.719 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.5771, allocations: 12.03 kB / 1.499 GB, free: 2.707 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.299e-05/0.5772, allocations: 58.73 kB / 1.499 GB, free: 2.641 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003326/0.5805, allocations: 315.4 kB / 1.499 GB, free: 2.332 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004977/0.581, allocations: 245.6 kB / 1.5 GB, free: 2.066 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.581, allocations: 20.66 kB / 1.5 GB, free: 2.047 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-05/0.5811, allocations: 31.94 kB / 1.5 GB, free: 2.016 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.5826, allocations: 437.7 kB / 1.5 GB, free: 1.586 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.5826, allocations: 0 / 1.5 GB, free: 1.586 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/0.5827, allocations: 15.94 kB / 1.5 GB, free: 1.57 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.5827, allocations: 8 kB / 1.5 GB, free: 1.562 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/0.585, allocations: 0.5295 MB / 1.501 GB, free: 1.027 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00328/0.5883, allocations: 1.041 MB / 1.502 GB, free: 15.94 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002245/0.5905, allocations: 439 kB / 1.502 GB, free: 15.5 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.5916, allocations: 220.7 kB / 1.502 GB, free: 15.28 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.5916, allocations: 0 / 1.502 GB, free: 15.28 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.5917, allocations: 42.5 kB / 1.502 GB, free: 15.23 MB / 1.201 GB Notification: Performance of pre-optimization done (n=25): time 1.542e-06/0.5917, allocations: 0 / 1.502 GB, free: 15.23 MB / 1.201 GB Notification: Performance of matching and sorting (n=25): time 0.01542/0.6071, allocations: 1.583 MB / 1.504 GB, free: 13.64 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.6071, allocations: 55.41 kB / 1.504 GB, free: 13.57 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004215/0.6075, allocations: 312.5 kB / 1.504 GB, free: 13.26 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.846e-05/0.6076, allocations: 29.7 kB / 1.504 GB, free: 13.23 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.6078, allocations: 172.5 kB / 1.504 GB, free: 13.05 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.6079, allocations: 91.2 kB / 1.504 GB, free: 12.96 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.6081, allocations: 73.92 kB / 1.505 GB, free: 12.88 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.6083, allocations: 350.7 kB / 1.505 GB, free: 12.53 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.6093, allocations: 196.4 kB / 1.505 GB, free: 12.34 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.6105, allocations: 369.6 kB / 1.505 GB, free: 11.93 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002126/0.6126, allocations: 442.3 kB / 1.506 GB, free: 11.49 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6126, allocations: 0 / 1.506 GB, free: 11.49 MB / 1.201 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.006964/0.6196, allocations: 0.9011 MB / 1.507 GB, free: 10.58 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.6196, allocations: 8 kB / 1.507 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.6196, allocations: 3.984 kB / 1.507 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001895/0.6215, allocations: 281.4 kB / 1.507 GB, free: 10.29 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005412/0.6221, allocations: 67.81 kB / 1.507 GB, free: 10.22 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01473/0.6368, allocations: 3.85 MB / 1.511 GB, free: 6.137 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008878/0.6377, allocations: 75.69 kB / 1.511 GB, free: 6.062 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.35e-05/0.6377, allocations: 15.97 kB / 1.511 GB, free: 6.047 MB / 1.201 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.0002525/0.638, allocations: 141.8 kB / 1.511 GB, free: 5.898 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.6381, allocations: 35.77 kB / 1.511 GB, free: 5.863 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007118/0.6452, allocations: 0.9574 MB / 1.512 GB, free: 4.891 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.6452, allocations: 4 kB / 1.512 GB, free: 4.887 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6452, allocations: 3.938 kB / 1.512 GB, free: 4.883 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.6452, allocations: 0 / 1.512 GB, free: 4.883 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00754/0.6528, allocations: 1.265 MB / 1.513 GB, free: 3.555 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.6528, allocations: 4 kB / 1.513 GB, free: 3.551 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004709/0.6533, allocations: 59.94 kB / 1.513 GB, free: 3.492 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001787/0.655, allocations: 277.4 kB / 1.514 GB, free: 3.215 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-05/0.6551, allocations: 19.91 kB / 1.514 GB, free: 3.195 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01429/0.6694, allocations: 3.846 MB / 1.517 GB, free: 15.12 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.6694, allocations: 3.984 kB / 1.517 GB, free: 15.11 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006913/0.6763, allocations: 0.9751 MB / 1.518 GB, free: 14.11 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.6765, allocations: 39.73 kB / 1.518 GB, free: 14.07 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.073e-05/0.6766, allocations: 3.953 kB / 1.518 GB, free: 14.07 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007581/0.6773, allocations: 47.95 kB / 1.518 GB, free: 14.02 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.6774, allocations: 23.95 kB / 1.518 GB, free: 14 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/0.6775, allocations: 19.97 kB / 1.518 GB, free: 13.98 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002854/0.6777, allocations: 219.1 kB / 1.519 GB, free: 13.77 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.6777, allocations: 4 kB / 1.519 GB, free: 13.76 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006655/0.6784, allocations: 107.9 kB / 1.519 GB, free: 13.66 MB / 1.217 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.007313/0.6857, allocations: 1.536 MB / 1.52 GB, free: 12.08 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002842/0.6886, allocations: 0.7039 MB / 1.521 GB, free: 11.35 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6886, allocations: 4.125 kB / 1.521 GB, free: 11.35 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001645/0.6902, allocations: 0.4932 MB / 1.521 GB, free: 10.83 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006746/0.6909, allocations: 120.7 kB / 1.522 GB, free: 10.71 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01968/0.7106, allocations: 4.464 MB / 1.526 GB, free: 6.145 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.7108, allocations: 160.5 kB / 1.526 GB, free: 5.969 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0005073/0.7113, allocations: 86.88 kB / 1.526 GB, free: 5.887 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.7116, allocations: 99.39 kB / 1.526 GB, free: 5.789 MB / 1.217 GB Notification: Performance of SimCode: time 7.62e-07/0.7116, allocations: 0 / 1.526 GB, free: 5.789 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05446/0.766, allocations: 18.32 MB / 1.544 GB, free: 3.727 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14.13, allocations: 12.02 kB / 1.544 GB, free: 3.719 MB / 1.232 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Examples_Fanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.M from file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.TOpe in file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.TOpe from file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.TAir in file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.TAir from file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.TRad in file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.TRad from file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.TSki in file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.TSki from file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! Error: Could not read variable theCom.vAir in file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv. Warning: Get data of variable theCom.vAir from file Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.250739575363696]