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.002146/0.002146, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001595/0.001595, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.57/1.57, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.323/3.323, allocations: 0.505 GB / 0.8066 GB, free: 23.04 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.002056/0.002056, allocations: 67.09 kB / 1.172 GB, free: 17.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3223, allocations: 180.2 MB / 1.348 GB, free: 10.03 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003818/0.3261, allocations: 2.327 MB / 1.35 GB, free: 7.691 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1843/0.5104, allocations: 155.3 MB / 1.502 GB, free: 11.79 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002845/0.5107, allocations: 11.88 kB / 1.502 GB, free: 11.77 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.5109, allocations: 43.47 kB / 1.502 GB, free: 11.73 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0005268/0.5115, allocations: 103.2 kB / 1.502 GB, free: 11.63 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009734/0.5124, allocations: 302.9 kB / 1.502 GB, free: 11.33 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0006756/0.5131, allocations: 431.8 kB / 1.503 GB, free: 10.91 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.5133, allocations: 83.7 kB / 1.503 GB, free: 10.82 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.5151, allocations: 302.1 kB / 1.503 GB, free: 10.55 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003538/0.5155, allocations: 175.3 kB / 1.503 GB, free: 10.38 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 7.512e-05/0.5155, allocations: 35.94 kB / 1.503 GB, free: 10.35 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006634/0.5162, allocations: 283.5 kB / 1.503 GB, free: 10.07 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.5163, allocations: 83.73 kB / 1.503 GB, free: 9.988 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.5165, allocations: 167.2 kB / 1.504 GB, free: 9.824 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0008909/0.5174, allocations: 0.4941 MB / 1.504 GB, free: 9.328 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.5174, allocations: 0 / 1.504 GB, free: 9.328 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.405e-06/0.5174, allocations: 0 / 1.504 GB, free: 9.328 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.738e-05/0.5174, allocations: 0 / 1.504 GB, free: 9.328 MB / 1.201 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.00172/0.5192, allocations: 0.7128 MB / 1.505 GB, free: 8.562 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.5192, allocations: 11.98 kB / 1.505 GB, free: 8.551 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.3e-05/0.5193, allocations: 66.66 kB / 1.505 GB, free: 8.477 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003558/0.5229, allocations: 319.4 kB / 1.505 GB, free: 8.164 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004883/0.5233, allocations: 299.4 kB / 1.505 GB, free: 7.832 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.5234, allocations: 20.56 kB / 1.505 GB, free: 7.812 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-05/0.5234, allocations: 32 kB / 1.505 GB, free: 7.781 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.5251, allocations: 436.5 kB / 1.506 GB, free: 7.348 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.5251, allocations: 0 / 1.506 GB, free: 7.348 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.322e-05/0.5251, allocations: 11.94 kB / 1.506 GB, free: 7.336 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.5251, allocations: 8 kB / 1.506 GB, free: 7.328 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002553/0.5277, allocations: 0.533 MB / 1.506 GB, free: 6.797 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003845/0.5315, allocations: 1.144 MB / 1.508 GB, free: 5.598 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002413/0.5339, allocations: 450.3 kB / 1.508 GB, free: 5.148 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.5351, allocations: 216.7 kB / 1.508 GB, free: 4.934 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-05/0.5352, allocations: 8.359 kB / 1.508 GB, free: 4.926 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/0.5352, allocations: 38.5 kB / 1.508 GB, free: 4.879 MB / 1.201 GB Notification: Performance of pre-optimization done (n=25): time 3.186e-06/0.5352, allocations: 0 / 1.508 GB, free: 4.879 MB / 1.201 GB Notification: Performance of matching and sorting (n=25): time 0.01673/0.5519, allocations: 1.722 MB / 1.51 GB, free: 3.105 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.552, allocations: 63.39 kB / 1.51 GB, free: 3.031 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004245/0.5524, allocations: 304.5 kB / 1.51 GB, free: 2.723 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.246e-05/0.5525, allocations: 33.7 kB / 1.51 GB, free: 2.684 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.5527, allocations: 172.4 kB / 1.51 GB, free: 2.512 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.5528, allocations: 91.22 kB / 1.511 GB, free: 2.422 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002041/0.553, allocations: 73.88 kB / 1.511 GB, free: 2.34 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.5532, allocations: 346.8 kB / 1.511 GB, free: 1.992 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.5543, allocations: 204.4 kB / 1.511 GB, free: 1.793 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.5555, allocations: 262.9 kB / 1.511 GB, free: 1.516 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002261/0.5578, allocations: 434.3 kB / 1.512 GB, free: 1.082 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.5578, allocations: 4 kB / 1.512 GB, free: 1.078 MB / 1.201 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007434/0.5652, allocations: 0.8929 MB / 1.513 GB, free: 176 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.5652, allocations: 8 kB / 1.513 GB, free: 168 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.5652, allocations: 4 kB / 1.513 GB, free: 164 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002086/0.5673, allocations: 277.4 kB / 1.513 GB, free: 15.88 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005439/0.5679, allocations: 79.75 kB / 1.513 GB, free: 15.8 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01575/0.5836, allocations: 4.091 MB / 1.517 GB, free: 11.44 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009366/0.5845, allocations: 71.75 kB / 1.517 GB, free: 11.37 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.218e-05/0.5846, allocations: 19.97 kB / 1.517 GB, free: 11.35 MB / 1.217 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.0002451/0.5849, allocations: 146.6 kB / 1.517 GB, free: 11.2 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.585, allocations: 35.8 kB / 1.517 GB, free: 11.16 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007609/0.5926, allocations: 0.9457 MB / 1.518 GB, free: 10.2 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.5926, allocations: 0 / 1.518 GB, free: 10.2 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.5926, allocations: 8 kB / 1.518 GB, free: 10.19 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.5926, allocations: 11.86 kB / 1.518 GB, free: 10.18 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008054/0.6007, allocations: 1.356 MB / 1.52 GB, free: 8.754 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.6007, allocations: 0 / 1.52 GB, free: 8.754 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004934/0.6012, allocations: 55.89 kB / 1.52 GB, free: 8.699 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001938/0.6031, allocations: 277.4 kB / 1.52 GB, free: 8.422 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.925e-05/0.6032, allocations: 19.91 kB / 1.52 GB, free: 8.402 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01568/0.6189, allocations: 4.084 MB / 1.524 GB, free: 4.035 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.6189, allocations: 0 / 1.524 GB, free: 4.035 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007543/0.6264, allocations: 0.9825 MB / 1.525 GB, free: 3.023 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.6266, allocations: 120.8 kB / 1.525 GB, free: 2.887 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-05/0.6266, allocations: 4 kB / 1.525 GB, free: 2.883 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008137/0.6275, allocations: 47.95 kB / 1.525 GB, free: 2.836 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.6276, allocations: 15.97 kB / 1.525 GB, free: 2.82 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.888e-05/0.6276, allocations: 19.97 kB / 1.525 GB, free: 2.801 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003072/0.6279, allocations: 219.1 kB / 1.525 GB, free: 2.586 MB / 1.217 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6279, allocations: 0 / 1.525 GB, free: 2.586 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006841/0.6286, allocations: 111.9 kB / 1.525 GB, free: 2.477 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.007786/0.6364, allocations: 1.539 MB / 1.527 GB, free: 0.8984 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003061/0.6395, allocations: 0.704 MB / 1.528 GB, free: 172 kB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6395, allocations: 0 / 1.528 GB, free: 172 kB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001717/0.6412, allocations: 0.4972 MB / 1.528 GB, free: 15.64 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007965/0.642, allocations: 121.2 kB / 1.528 GB, free: 15.53 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02147/0.6635, allocations: 4.449 MB / 1.533 GB, free: 10.97 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.6639, allocations: 0.7645 MB / 1.533 GB, free: 10.18 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0004926/0.6644, allocations: 90.86 kB / 1.533 GB, free: 10.09 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.6646, allocations: 99.39 kB / 1.533 GB, free: 9.992 MB / 1.232 GB Notification: Performance of SimCode: time 1.052e-06/0.6646, allocations: 0 / 1.533 GB, free: 9.992 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0537/0.7183, allocations: 16.6 MB / 1.55 GB, free: 9.562 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.65, allocations: 7.875 kB / 1.55 GB, free: 9.555 MB / 1.248 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: 20.70267408899963]