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.001344/0.001344, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.001528/0.001528, allocations: 216 kB / 22.25 MB, free: 5.117 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 8.031 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.382/3.382, allocations: 0.505 GB / 0.8101 GB, free: 22.11 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.002008/0.002008, allocations: 71.28 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3699, allocations: 180.2 MB / 1.353 GB, free: 8.523 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.0037/0.3736, allocations: 2.345 MB / 1.355 GB, free: 6.168 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1864/0.56, allocations: 155.4 MB / 1.507 GB, free: 10.19 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/0.5603, allocations: 7.938 kB / 1.507 GB, free: 10.18 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.5605, allocations: 43.47 kB / 1.507 GB, free: 10.14 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0003953/0.5609, allocations: 103.2 kB / 1.507 GB, free: 10.04 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008071/0.5617, allocations: 302.9 kB / 1.507 GB, free: 9.738 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0005271/0.5623, allocations: 431.7 kB / 1.508 GB, free: 9.312 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.5625, allocations: 86.12 kB / 1.508 GB, free: 9.23 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.5642, allocations: 288.5 kB / 1.508 GB, free: 8.973 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004152/0.5646, allocations: 187.2 kB / 1.508 GB, free: 8.789 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 6.948e-05/0.5647, allocations: 28 kB / 1.508 GB, free: 8.762 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008166/0.5655, allocations: 291.6 kB / 1.509 GB, free: 8.477 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.5656, allocations: 79.72 kB / 1.509 GB, free: 8.398 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.5658, allocations: 159.2 kB / 1.509 GB, free: 8.242 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0008218/0.5666, allocations: 0.4981 MB / 1.509 GB, free: 7.742 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.5666, allocations: 0 / 1.509 GB, free: 7.742 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5666, allocations: 0 / 1.509 GB, free: 7.742 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.5666, allocations: 0 / 1.509 GB, free: 7.742 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.00161/0.5683, allocations: 0.6414 MB / 1.51 GB, free: 7.07 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.5683, allocations: 8.031 kB / 1.51 GB, free: 7.062 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.19e-05/0.5684, allocations: 70.66 kB / 1.51 GB, free: 6.984 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00343/0.5718, allocations: 323.3 kB / 1.51 GB, free: 6.668 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000511/0.5723, allocations: 245.5 kB / 1.511 GB, free: 6.402 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.5723, allocations: 16.66 kB / 1.511 GB, free: 6.387 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/0.5724, allocations: 28 kB / 1.511 GB, free: 6.359 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.5739, allocations: 441.7 kB / 1.511 GB, free: 5.918 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.5739, allocations: 0 / 1.511 GB, free: 5.918 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.801e-05/0.574, allocations: 15.94 kB / 1.511 GB, free: 5.902 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.574, allocations: 4 kB / 1.511 GB, free: 5.898 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/0.5764, allocations: 0.5373 MB / 1.512 GB, free: 5.363 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003379/0.5797, allocations: 1.115 MB / 1.513 GB, free: 4.203 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002263/0.582, allocations: 446.2 kB / 1.513 GB, free: 3.758 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.583, allocations: 216.7 kB / 1.513 GB, free: 3.543 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.5831, allocations: 4 kB / 1.513 GB, free: 3.539 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.5831, allocations: 50.5 kB / 1.513 GB, free: 3.48 MB / 1.201 GB Notification: Performance of pre-optimization done (n=25): time 2.324e-06/0.5831, allocations: 0 / 1.513 GB, free: 3.48 MB / 1.201 GB Notification: Performance of matching and sorting (n=25): time 0.01647/0.5996, allocations: 1.58 MB / 1.515 GB, free: 1.887 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.5997, allocations: 55.41 kB / 1.515 GB, free: 1.82 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003815/0.6, allocations: 308.6 kB / 1.515 GB, free: 1.512 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.646e-05/0.6001, allocations: 29.7 kB / 1.515 GB, free: 1.477 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.6003, allocations: 168.5 kB / 1.515 GB, free: 1.305 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.6004, allocations: 91.2 kB / 1.515 GB, free: 1.215 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.6005, allocations: 77.88 kB / 1.516 GB, free: 1.129 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.6007, allocations: 346.7 kB / 1.516 GB, free: 0.7812 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.6018, allocations: 204.4 kB / 1.516 GB, free: 0.582 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.6028, allocations: 259 kB / 1.516 GB, free: 316 kB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/0.605, allocations: 438.2 kB / 1.517 GB, free: 15.87 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.605, allocations: 0 / 1.517 GB, free: 15.87 MB / 1.217 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007257/0.6122, allocations: 0.9012 MB / 1.518 GB, free: 14.96 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.6123, allocations: 4 kB / 1.518 GB, free: 14.95 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.6123, allocations: 4 kB / 1.518 GB, free: 14.95 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001926/0.6142, allocations: 277.4 kB / 1.518 GB, free: 14.67 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005842/0.6148, allocations: 75.81 kB / 1.518 GB, free: 14.6 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0158/0.6306, allocations: 3.877 MB / 1.522 GB, free: 10.49 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009522/0.6315, allocations: 75.72 kB / 1.522 GB, free: 10.41 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/0.6316, allocations: 15.97 kB / 1.522 GB, free: 10.4 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.0002282/0.6318, allocations: 149.8 kB / 1.522 GB, free: 10.24 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.793e-05/0.6319, allocations: 27.81 kB / 1.522 GB, free: 10.21 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007386/0.6393, allocations: 0.947 MB / 1.523 GB, free: 9.258 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.6393, allocations: 7.984 kB / 1.523 GB, free: 9.25 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.6393, allocations: 0 / 1.523 GB, free: 9.25 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.6393, allocations: 8 kB / 1.523 GB, free: 9.242 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007805/0.6471, allocations: 1.331 MB / 1.524 GB, free: 7.848 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.6471, allocations: 0 / 1.524 GB, free: 7.848 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004766/0.6476, allocations: 51.95 kB / 1.524 GB, free: 7.797 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001855/0.6494, allocations: 285.4 kB / 1.525 GB, free: 7.512 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-05/0.6495, allocations: 19.91 kB / 1.525 GB, free: 7.492 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01478/0.6643, allocations: 3.877 MB / 1.528 GB, free: 3.379 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.6643, allocations: 0 / 1.528 GB, free: 3.379 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007302/0.6716, allocations: 0.9719 MB / 1.529 GB, free: 2.379 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.6717, allocations: 47.69 kB / 1.529 GB, free: 2.332 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.363e-05/0.6718, allocations: 4 kB / 1.529 GB, free: 2.328 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007849/0.6726, allocations: 51.89 kB / 1.529 GB, free: 2.277 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.631e-05/0.6727, allocations: 23.91 kB / 1.529 GB, free: 2.254 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/0.6727, allocations: 15.97 kB / 1.529 GB, free: 2.238 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002685/0.673, allocations: 219.1 kB / 1.53 GB, free: 2.023 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.673, allocations: 0 / 1.53 GB, free: 2.023 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005888/0.6736, allocations: 107.9 kB / 1.53 GB, free: 1.918 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.007609/0.6812, allocations: 1.539 MB / 1.531 GB, free: 348 kB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002877/0.6841, allocations: 0.7117 MB / 1.532 GB, free: 15.6 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6841, allocations: 0 / 1.532 GB, free: 15.6 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001627/0.6857, allocations: 0.4934 MB / 1.532 GB, free: 15.08 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000705/0.6864, allocations: 117.2 kB / 1.533 GB, free: 14.97 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02077/0.7072, allocations: 4.465 MB / 1.537 GB, free: 10.39 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.7076, allocations: 0.7684 MB / 1.538 GB, free: 9.594 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0004815/0.7081, allocations: 86.88 kB / 1.538 GB, free: 9.512 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.7083, allocations: 103.4 kB / 1.538 GB, free: 9.41 MB / 1.232 GB Notification: Performance of SimCode: time 9.22e-07/0.7083, allocations: 0 / 1.538 GB, free: 9.41 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05714/0.7655, allocations: 16.94 MB / 1.554 GB, free: 8.656 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.88, allocations: 14.7 kB / 1.554 GB, free: 8.645 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: 21.058063684000444]