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.001697/0.001697, allocations: 113 kB / 18.94 MB, free: 2.934 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.002106/0.002106, allocations: 210.1 kB / 22.25 MB, free: 5.082 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 8.004 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.765/2.765, allocations: 476.8 MB / 0.7707 GB, free: 4.227 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.002064/0.002064, allocations: 68.75 kB / 1.117 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3202, allocations: 169.9 MB / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.003938/0.3242, allocations: 2.361 MB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1853/0.5095, allocations: 155.4 MB / 1.437 GB, free: 13.26 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/0.5098, allocations: 7.938 kB / 1.437 GB, free: 13.25 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.51, allocations: 43.47 kB / 1.437 GB, free: 13.21 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003806/0.5104, allocations: 107.2 kB / 1.438 GB, free: 13.1 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008207/0.5112, allocations: 298.9 kB / 1.438 GB, free: 12.81 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0005194/0.5117, allocations: 431.7 kB / 1.438 GB, free: 12.39 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/0.5119, allocations: 84.27 kB / 1.438 GB, free: 12.3 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001535/0.5134, allocations: 288.5 kB / 1.439 GB, free: 12.04 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.5137, allocations: 183.3 kB / 1.439 GB, free: 11.86 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 5.694e-05/0.5138, allocations: 28 kB / 1.439 GB, free: 11.84 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006235/0.5144, allocations: 291.5 kB / 1.439 GB, free: 11.55 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 9.063e-05/0.5145, allocations: 71.73 kB / 1.439 GB, free: 11.48 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.5147, allocations: 167.2 kB / 1.439 GB, free: 11.32 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0008153/0.5155, allocations: 0.5058 MB / 1.44 GB, free: 10.81 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5155, allocations: 4 kB / 1.44 GB, free: 10.8 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5155, allocations: 0 / 1.44 GB, free: 10.8 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.5155, allocations: 0 / 1.44 GB, free: 10.8 MB / 1.139 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.001536/0.5171, allocations: 0.6336 MB / 1.44 GB, free: 10.14 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.5171, allocations: 8.031 kB / 1.44 GB, free: 10.13 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.511e-05/0.5172, allocations: 66.72 kB / 1.44 GB, free: 10.06 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003115/0.5203, allocations: 287.4 kB / 1.441 GB, free: 9.777 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/0.5208, allocations: 245.6 kB / 1.441 GB, free: 9.512 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.5208, allocations: 20.66 kB / 1.441 GB, free: 9.492 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/0.5209, allocations: 28 kB / 1.441 GB, free: 9.465 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.5224, allocations: 429.8 kB / 1.441 GB, free: 9.035 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.5224, allocations: 0 / 1.441 GB, free: 9.035 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.971e-05/0.5224, allocations: 15.94 kB / 1.441 GB, free: 9.02 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.5224, allocations: 4 kB / 1.441 GB, free: 9.016 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002352/0.5248, allocations: 0.5217 MB / 1.442 GB, free: 8.496 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003263/0.5281, allocations: 1.115 MB / 1.443 GB, free: 7.336 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/0.5303, allocations: 434.4 kB / 1.443 GB, free: 6.902 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.5314, allocations: 220.7 kB / 1.444 GB, free: 6.684 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 4.719e-05/0.5314, allocations: 8.375 kB / 1.444 GB, free: 6.676 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.5314, allocations: 38.5 kB / 1.444 GB, free: 6.629 MB / 1.139 GB Notification: Performance of pre-optimization done (n=25): time 3.808e-06/0.5314, allocations: 4 kB / 1.444 GB, free: 6.625 MB / 1.139 GB Notification: Performance of matching and sorting (n=25): time 0.01622/0.5477, allocations: 1.58 MB / 1.445 GB, free: 5.031 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.5477, allocations: 55.41 kB / 1.445 GB, free: 4.965 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/0.5481, allocations: 304.5 kB / 1.446 GB, free: 4.66 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.98e-05/0.5482, allocations: 29.7 kB / 1.446 GB, free: 4.625 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.5483, allocations: 172.5 kB / 1.446 GB, free: 4.449 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.5485, allocations: 91.22 kB / 1.446 GB, free: 4.359 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.5486, allocations: 73.92 kB / 1.446 GB, free: 4.277 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.5488, allocations: 342.8 kB / 1.446 GB, free: 3.934 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.5499, allocations: 212.3 kB / 1.447 GB, free: 3.727 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.551, allocations: 258.9 kB / 1.447 GB, free: 3.453 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002154/0.5531, allocations: 434.8 kB / 1.447 GB, free: 3.02 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.5531, allocations: 0 / 1.447 GB, free: 3.02 MB / 1.139 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007157/0.5603, allocations: 0.8967 MB / 1.448 GB, free: 2.109 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.5603, allocations: 4 kB / 1.448 GB, free: 2.105 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.5603, allocations: 0 / 1.448 GB, free: 2.105 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001892/0.5622, allocations: 285.4 kB / 1.448 GB, free: 1.82 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005082/0.5627, allocations: 67.83 kB / 1.448 GB, free: 1.754 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/0.578, allocations: 3.896 MB / 1.452 GB, free: 13.63 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008827/0.5788, allocations: 75.69 kB / 1.452 GB, free: 13.55 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/0.5789, allocations: 15.97 kB / 1.452 GB, free: 13.54 MB / 1.154 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.000225/0.5791, allocations: 143.5 kB / 1.452 GB, free: 13.39 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.5792, allocations: 39.77 kB / 1.452 GB, free: 13.35 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007339/0.5866, allocations: 0.9387 MB / 1.453 GB, free: 12.4 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.5866, allocations: 4 kB / 1.453 GB, free: 12.4 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.5866, allocations: 7.938 kB / 1.453 GB, free: 12.39 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.5866, allocations: 0 / 1.453 GB, free: 12.39 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006636/0.5872, allocations: 400.1 kB / 1.454 GB, free: 11.96 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.5872, allocations: 0 / 1.454 GB, free: 11.96 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000431/0.5877, allocations: 51.95 kB / 1.454 GB, free: 11.91 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001815/0.5895, allocations: 281.4 kB / 1.454 GB, free: 11.62 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.654e-05/0.5895, allocations: 15.97 kB / 1.454 GB, free: 11.61 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01466/0.6042, allocations: 3.866 MB / 1.458 GB, free: 7.508 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6042, allocations: 0 / 1.458 GB, free: 7.508 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006861/0.6111, allocations: 0.965 MB / 1.459 GB, free: 6.52 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.6112, allocations: 35.7 kB / 1.459 GB, free: 6.484 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.086e-05/0.6113, allocations: 8 kB / 1.459 GB, free: 6.477 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007225/0.612, allocations: 39.95 kB / 1.459 GB, free: 6.438 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.315e-05/0.6121, allocations: 31.89 kB / 1.459 GB, free: 6.406 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/0.6121, allocations: 15.97 kB / 1.459 GB, free: 6.391 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002626/0.6124, allocations: 223.1 kB / 1.459 GB, free: 6.172 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.6124, allocations: 0 / 1.459 GB, free: 6.172 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006227/0.613, allocations: 111.9 kB / 1.459 GB, free: 6.062 MB / 1.154 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.007296/0.6203, allocations: 1.529 MB / 1.461 GB, free: 4.5 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002874/0.6232, allocations: 0.7049 MB / 1.461 GB, free: 3.77 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6232, allocations: 0 / 1.461 GB, free: 3.77 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001563/0.6247, allocations: 0.4894 MB / 1.462 GB, free: 3.254 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007028/0.6254, allocations: 109.2 kB / 1.462 GB, free: 3.148 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01958/0.645, allocations: 4.4 MB / 1.466 GB, free: 14.65 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.6455, allocations: 0.7645 MB / 1.467 GB, free: 13.86 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0004343/0.6459, allocations: 82.86 kB / 1.467 GB, free: 13.78 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.6461, allocations: 99.39 kB / 1.467 GB, free: 13.68 MB / 1.17 GB Notification: Performance of SimCode: time 1.162e-06/0.6461, allocations: 0 / 1.467 GB, free: 13.68 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05606/0.7022, allocations: 17.06 MB / 1.484 GB, free: 12.82 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.52, allocations: 0 / 1.484 GB, free: 12.82 MB / 1.186 GB " [Timeout remaining time 286] (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.12092994900013]