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.002264/0.002264, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002622/0.002622, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.479/1.479, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.787/2.787, allocations: 476.7 MB / 0.7672 GB, free: 5.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.002059/0.002059, allocations: 71.88 kB / 1.112 GB, free: 1.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8385/0.8405, allocations: 169.9 MB / 1.278 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Examples.Fanger): time 0.004132/0.8447, allocations: 2.334 MB / 1.281 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1916/1.036, allocations: 155.3 MB / 1.432 GB, free: 15.17 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002654/1.037, allocations: 3.938 kB / 1.432 GB, free: 15.16 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002606/1.037, allocations: 51.45 kB / 1.432 GB, free: 15.11 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0004766/1.037, allocations: 103.2 kB / 1.432 GB, free: 15.01 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009882/1.038, allocations: 306.9 kB / 1.433 GB, free: 14.71 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0006477/1.039, allocations: 423.8 kB / 1.433 GB, free: 14.29 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002265/1.039, allocations: 71.72 kB / 1.433 GB, free: 14.21 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/1.041, allocations: 307 kB / 1.433 GB, free: 13.94 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/1.041, allocations: 175.3 kB / 1.434 GB, free: 13.77 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 8.215e-05/1.041, allocations: 32 kB / 1.434 GB, free: 13.73 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006582/1.042, allocations: 283.6 kB / 1.434 GB, free: 13.46 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/1.042, allocations: 79.72 kB / 1.434 GB, free: 13.38 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002085/1.042, allocations: 167.2 kB / 1.434 GB, free: 13.21 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0008374/1.043, allocations: 0.4941 MB / 1.435 GB, free: 12.72 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/1.043, allocations: 4 kB / 1.435 GB, free: 12.71 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.403e-06/1.043, allocations: 7.938 kB / 1.435 GB, free: 12.71 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.573e-05/1.043, allocations: 0 / 1.435 GB, free: 12.71 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.001664/1.045, allocations: 0.7088 MB / 1.435 GB, free: 11.95 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/1.045, allocations: 16.02 kB / 1.435 GB, free: 11.93 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.887e-05/1.045, allocations: 58.73 kB / 1.435 GB, free: 11.87 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003175/1.048, allocations: 287.4 kB / 1.436 GB, free: 11.59 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004965/1.049, allocations: 311.3 kB / 1.436 GB, free: 11.24 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/1.049, allocations: 24.5 kB / 1.436 GB, free: 11.21 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.142e-05/1.049, allocations: 24 kB / 1.436 GB, free: 11.19 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/1.05, allocations: 436.5 kB / 1.436 GB, free: 10.76 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/1.05, allocations: 0 / 1.436 GB, free: 10.76 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.174e-05/1.05, allocations: 11.94 kB / 1.436 GB, free: 10.75 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/1.05, allocations: 8 kB / 1.436 GB, free: 10.74 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002492/1.053, allocations: 0.5252 MB / 1.437 GB, free: 10.22 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003337/1.056, allocations: 1.14 MB / 1.438 GB, free: 9.027 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/1.059, allocations: 440.8 kB / 1.438 GB, free: 8.59 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/1.06, allocations: 224.6 kB / 1.439 GB, free: 8.367 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 4.889e-05/1.06, allocations: 4 kB / 1.439 GB, free: 8.363 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/1.06, allocations: 38.5 kB / 1.439 GB, free: 8.316 MB / 1.139 GB Notification: Performance of pre-optimization done (n=25): time 1.944e-06/1.06, allocations: 0 / 1.439 GB, free: 8.316 MB / 1.139 GB Notification: Performance of matching and sorting (n=25): time 0.01664/1.077, allocations: 1.727 MB / 1.44 GB, free: 6.539 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/1.077, allocations: 51.41 kB / 1.44 GB, free: 6.477 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004804/1.077, allocations: 308.5 kB / 1.441 GB, free: 6.172 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.287e-05/1.077, allocations: 29.7 kB / 1.441 GB, free: 6.137 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/1.077, allocations: 168.4 kB / 1.441 GB, free: 5.969 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/1.077, allocations: 91.2 kB / 1.441 GB, free: 5.879 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/1.078, allocations: 77.92 kB / 1.441 GB, free: 5.793 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001814/1.078, allocations: 346.7 kB / 1.441 GB, free: 5.445 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/1.079, allocations: 200.4 kB / 1.442 GB, free: 5.25 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/1.08, allocations: 263.4 kB / 1.442 GB, free: 4.973 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002178/1.082, allocations: 438.8 kB / 1.442 GB, free: 4.535 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/1.082, allocations: 0 / 1.442 GB, free: 4.535 MB / 1.139 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007227/1.089, allocations: 0.8967 MB / 1.443 GB, free: 3.625 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/1.09, allocations: 4 kB / 1.443 GB, free: 3.621 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/1.09, allocations: 4 kB / 1.443 GB, free: 3.617 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002035/1.092, allocations: 281.4 kB / 1.443 GB, free: 3.336 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005157/1.092, allocations: 63.83 kB / 1.443 GB, free: 3.273 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01574/1.108, allocations: 4.1 MB / 1.447 GB, free: 14.89 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000904/1.109, allocations: 71.72 kB / 1.448 GB, free: 14.82 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.131e-05/1.109, allocations: 15.97 kB / 1.448 GB, free: 14.81 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.0002679/1.109, allocations: 143.8 kB / 1.448 GB, free: 14.66 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/1.109, allocations: 31.77 kB / 1.448 GB, free: 14.63 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007538/1.117, allocations: 0.9464 MB / 1.449 GB, free: 13.67 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.117, allocations: 0 / 1.449 GB, free: 13.67 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/1.117, allocations: 4 kB / 1.449 GB, free: 13.66 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/1.117, allocations: 11.92 kB / 1.449 GB, free: 13.65 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006432/1.117, allocations: 425.1 kB / 1.449 GB, free: 13.19 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/1.117, allocations: 0 / 1.449 GB, free: 13.19 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004279/1.118, allocations: 59.89 kB / 1.449 GB, free: 13.13 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001919/1.12, allocations: 269.4 kB / 1.449 GB, free: 12.86 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-05/1.12, allocations: 19.97 kB / 1.449 GB, free: 12.84 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01517/1.135, allocations: 4.092 MB / 1.453 GB, free: 8.465 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.135, allocations: 0 / 1.453 GB, free: 8.465 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007341/1.142, allocations: 0.9533 MB / 1.454 GB, free: 7.488 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/1.142, allocations: 112.8 kB / 1.454 GB, free: 7.359 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.31e-05/1.143, allocations: 8 kB / 1.454 GB, free: 7.352 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000777/1.143, allocations: 43.95 kB / 1.455 GB, free: 7.309 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/1.143, allocations: 27.91 kB / 1.455 GB, free: 7.281 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/1.143, allocations: 15.97 kB / 1.455 GB, free: 7.266 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002825/1.144, allocations: 223.1 kB / 1.455 GB, free: 7.051 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.144, allocations: 4 kB / 1.455 GB, free: 7.047 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006486/1.144, allocations: 107.9 kB / 1.455 GB, free: 6.941 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.007732/1.152, allocations: 1.514 MB / 1.456 GB, free: 5.395 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003124/1.155, allocations: 0.7127 MB / 1.457 GB, free: 4.656 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.155, allocations: 0 / 1.457 GB, free: 4.656 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001683/1.157, allocations: 0.4971 MB / 1.458 GB, free: 4.133 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007609/1.158, allocations: 111.1 kB / 1.458 GB, free: 4.027 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02056/1.178, allocations: 4.398 MB / 1.462 GB, free: 15.52 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/1.179, allocations: 0.7606 MB / 1.463 GB, free: 14.73 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0004461/1.179, allocations: 78.89 kB / 1.463 GB, free: 14.66 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/1.179, allocations: 103.4 kB / 1.463 GB, free: 14.55 MB / 1.17 GB Notification: Performance of SimCode: time 1.683e-06/1.179, allocations: 0 / 1.463 GB, free: 14.55 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05623/1.236, allocations: 16.7 MB / 1.479 GB, free: 14.02 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.91, allocations: 7.797 kB / 1.479 GB, free: 14.01 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.068468820070848]