Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.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.001825/0.001825, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.002196/0.002196, allocations: 211 kB / 20.13 MB, free: 2.969 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.527/1.527, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.921/2.921, allocations: 476.7 MB / 0.7678 GB, free: 9.391 MB / 0.6075 GB " [Timeout remaining time 176] 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.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_Boiler_System1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_Boiler_System1",fmuType="cs",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: 63.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9775/0.9795, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2351/1.215, allocations: 166.3 MB / 1.441 GB, free: 5.555 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006879/1.221, allocations: 3.571 MB / 1.445 GB, free: 1.977 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007698/1.222, allocations: 23.81 kB / 1.445 GB, free: 1.953 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/1.223, allocations: 286.4 kB / 1.445 GB, free: 1.672 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002604/1.226, allocations: 0.9217 MB / 1.446 GB, free: 0.7461 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/1.227, allocations: 450.7 kB / 1.446 GB, free: 316 kB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001642/1.229, allocations: 1.106 MB / 1.448 GB, free: 15.2 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004565/1.229, allocations: 288.9 kB / 1.448 GB, free: 14.91 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007602/1.23, allocations: 438.2 kB / 1.448 GB, free: 14.48 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008725/1.231, allocations: 374.5 kB / 1.449 GB, free: 14.11 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 6.713e-05/1.231, allocations: 44 kB / 1.449 GB, free: 14.07 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/1.232, allocations: 0.7404 MB / 1.449 GB, free: 13.33 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.00021/1.233, allocations: 167.5 kB / 1.45 GB, free: 13.16 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002963/1.233, allocations: 270.6 kB / 1.45 GB, free: 12.9 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001553/1.234, allocations: 0.9498 MB / 1.451 GB, free: 11.95 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.234, allocations: 0 / 1.451 GB, free: 11.95 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.002e-06/1.234, allocations: 0 / 1.451 GB, free: 11.95 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.916e-06/1.234, allocations: 3.938 kB / 1.451 GB, free: 11.94 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001634/1.236, allocations: 0.8983 MB / 1.452 GB, free: 10.99 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/1.236, allocations: 11.97 kB / 1.452 GB, free: 10.98 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.486e-05/1.236, allocations: 8.562 kB / 1.452 GB, free: 10.97 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.466e-05/1.236, allocations: 66.53 kB / 1.452 GB, free: 10.89 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/1.237, allocations: 155.5 kB / 1.452 GB, free: 10.74 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008282/1.238, allocations: 0.5052 MB / 1.452 GB, free: 10.2 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/1.238, allocations: 20.56 kB / 1.452 GB, free: 10.18 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.308e-05/1.238, allocations: 35.98 kB / 1.452 GB, free: 10.14 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005988/1.239, allocations: 311.7 kB / 1.453 GB, free: 9.832 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/1.239, allocations: 0 / 1.453 GB, free: 9.832 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.777e-05/1.239, allocations: 16 kB / 1.453 GB, free: 9.816 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/1.239, allocations: 12.56 kB / 1.453 GB, free: 9.805 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004408/1.239, allocations: 226 kB / 1.453 GB, free: 9.578 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/1.242, allocations: 1.418 MB / 1.454 GB, free: 8.027 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/1.242, allocations: 202.8 kB / 1.454 GB, free: 7.82 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/1.242, allocations: 107 kB / 1.455 GB, free: 7.715 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/1.242, allocations: 7.938 kB / 1.455 GB, free: 7.707 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003286/1.242, allocations: 159.7 kB / 1.455 GB, free: 7.539 MB / 1.139 GB Notification: Performance of pre-optimization done (n=26): time 2.024e-06/1.242, allocations: 0 / 1.455 GB, free: 7.539 MB / 1.139 GB Notification: Performance of matching and sorting (n=29): time 0.003005/1.245, allocations: 1.114 MB / 1.456 GB, free: 6.367 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/1.246, allocations: 51.41 kB / 1.456 GB, free: 6.305 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006173/1.246, allocations: 473.9 kB / 1.456 GB, free: 5.836 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/1.246, allocations: 33.7 kB / 1.456 GB, free: 5.797 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/1.246, allocations: 240.5 kB / 1.457 GB, free: 5.559 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/1.247, allocations: 111.1 kB / 1.457 GB, free: 5.449 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/1.247, allocations: 74.02 kB / 1.457 GB, free: 5.371 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001783/1.247, allocations: 362.8 kB / 1.457 GB, free: 5.008 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/1.247, allocations: 132.7 kB / 1.457 GB, free: 4.879 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/1.247, allocations: 186.8 kB / 1.457 GB, free: 4.68 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004908/1.248, allocations: 303.4 kB / 1.458 GB, free: 4.367 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/1.248, allocations: 0 / 1.458 GB, free: 4.367 MB / 1.139 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001049/1.249, allocations: 498.4 kB / 1.458 GB, free: 3.871 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/1.249, allocations: 7.938 kB / 1.458 GB, free: 3.863 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.249, allocations: 4 kB / 1.458 GB, free: 3.859 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003693/1.249, allocations: 84.78 kB / 1.458 GB, free: 3.773 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/1.25, allocations: 63.91 kB / 1.458 GB, free: 3.711 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/1.252, allocations: 1.904 MB / 1.46 GB, free: 1.672 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/1.252, allocations: 12 kB / 1.46 GB, free: 1.66 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/1.252, allocations: 12 kB / 1.46 GB, free: 1.648 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002612/1.252, allocations: 198.2 kB / 1.46 GB, free: 1.449 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.275e-05/1.252, allocations: 47.72 kB / 1.46 GB, free: 1.402 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/1.252, allocations: 56.77 kB / 1.461 GB, free: 1.348 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/1.252, allocations: 12 kB / 1.461 GB, free: 1.336 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.252, allocations: 4 kB / 1.461 GB, free: 1.332 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/1.253, allocations: 0 / 1.461 GB, free: 1.332 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/1.254, allocations: 0.9755 MB / 1.461 GB, free: 304 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.254, allocations: 0 / 1.461 GB, free: 304 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/1.255, allocations: 71.91 kB / 1.462 GB, free: 232 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003154/1.255, allocations: 76.72 kB / 1.462 GB, free: 152 kB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/1.255, allocations: 8 kB / 1.462 GB, free: 144 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00166/1.257, allocations: 1.649 MB / 1.463 GB, free: 14.34 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.257, allocations: 0 / 1.463 GB, free: 14.34 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/1.258, allocations: 0.5827 MB / 1.464 GB, free: 13.74 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/1.258, allocations: 152.8 kB / 1.464 GB, free: 13.57 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.969e-05/1.258, allocations: 11.94 kB / 1.464 GB, free: 13.56 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/1.258, allocations: 18.39 kB / 1.464 GB, free: 13.55 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/1.258, allocations: 19.97 kB / 1.464 GB, free: 13.53 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/1.258, allocations: 8 kB / 1.464 GB, free: 13.52 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003966/1.259, allocations: 311.1 kB / 1.464 GB, free: 13.22 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.2e-07/1.259, allocations: 0 / 1.464 GB, free: 13.22 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000583/1.259, allocations: 132 kB / 1.464 GB, free: 13.09 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002993/1.262, allocations: 1.449 MB / 1.466 GB, free: 11.77 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0008795/1.263, allocations: 406.4 kB / 1.466 GB, free: 11.36 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.263, allocations: 0 / 1.466 GB, free: 11.36 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003633/1.264, allocations: 242.5 kB / 1.466 GB, free: 11.11 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/1.265, allocations: 227.7 kB / 1.467 GB, free: 10.89 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006703/1.271, allocations: 4.177 MB / 1.471 GB, free: 6.598 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005755/1.272, allocations: 0.858 MB / 1.472 GB, free: 5.711 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003601/1.272, allocations: 88.31 kB / 1.472 GB, free: 5.625 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/1.273, allocations: 159.4 kB / 1.472 GB, free: 5.473 MB / 1.154 GB Notification: Performance of SimCode: time 1.182e-06/1.273, allocations: 0 / 1.472 GB, free: 5.473 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04061/1.313, allocations: 13.12 MB / 1.485 GB, free: 8.543 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12.72, allocations: 12.47 kB / 1.485 GB, free: 8.539 MB / 1.17 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.431877954979427]