Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001835/0.001835, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002217/0.002217, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.623/1.623, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.152/3.152, allocations: 0.5003 GB / 0.8026 GB, free: 6.984 MB / 0.6387 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.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_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.001997/0.001997, allocations: 59.91 kB / 1.165 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099/1.101, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2529/1.353, allocations: 166.4 MB / 1.503 GB, free: 1.906 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007353/1.361, allocations: 3.568 MB / 1.506 GB, free: 14.33 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/1.362, allocations: 27.75 kB / 1.506 GB, free: 14.3 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/1.363, allocations: 282.5 kB / 1.506 GB, free: 14.03 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003017/1.366, allocations: 0.9256 MB / 1.507 GB, free: 13.1 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001378/1.367, allocations: 438.9 kB / 1.508 GB, free: 12.67 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002004/1.369, allocations: 1.117 MB / 1.509 GB, free: 11.55 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005716/1.37, allocations: 292.1 kB / 1.509 GB, free: 11.26 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/1.371, allocations: 470.2 kB / 1.509 GB, free: 10.8 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/1.372, allocations: 368.5 kB / 1.51 GB, free: 10.44 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 8.254e-05/1.372, allocations: 40 kB / 1.51 GB, free: 10.4 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00194/1.374, allocations: 0.7405 MB / 1.511 GB, free: 9.66 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002459/1.374, allocations: 179.4 kB / 1.511 GB, free: 9.484 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003517/1.375, allocations: 270.6 kB / 1.511 GB, free: 9.219 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001989/1.377, allocations: 0.9537 MB / 1.512 GB, free: 8.262 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/1.377, allocations: 0 / 1.512 GB, free: 8.262 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.064e-06/1.377, allocations: 0 / 1.512 GB, free: 8.262 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.494e-05/1.377, allocations: 0 / 1.512 GB, free: 8.262 MB / 1.186 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.00247/1.379, allocations: 0.8944 MB / 1.513 GB, free: 7.312 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 8.132e-05/1.379, allocations: 8.031 kB / 1.513 GB, free: 7.305 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.837e-05/1.379, allocations: 12.5 kB / 1.513 GB, free: 7.293 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/1.38, allocations: 58.55 kB / 1.513 GB, free: 7.227 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/1.381, allocations: 163.4 kB / 1.513 GB, free: 7.066 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/1.382, allocations: 0.5052 MB / 1.514 GB, free: 6.527 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/1.382, allocations: 20.56 kB / 1.514 GB, free: 6.508 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.885e-05/1.382, allocations: 31.98 kB / 1.514 GB, free: 6.477 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007422/1.383, allocations: 323.6 kB / 1.514 GB, free: 6.152 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/1.383, allocations: 0 / 1.514 GB, free: 6.152 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.049e-05/1.383, allocations: 12 kB / 1.514 GB, free: 6.141 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/1.383, allocations: 12.56 kB / 1.514 GB, free: 6.129 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004915/1.384, allocations: 230 kB / 1.514 GB, free: 5.902 MB / 1.186 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.003005/1.387, allocations: 1.515 MB / 1.516 GB, free: 4.227 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005251/1.387, allocations: 210.7 kB / 1.516 GB, free: 4.012 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/1.387, allocations: 108.8 kB / 1.516 GB, free: 3.902 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.826e-05/1.387, allocations: 4 kB / 1.516 GB, free: 3.898 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004332/1.388, allocations: 165 kB / 1.516 GB, free: 3.727 MB / 1.186 GB Notification: Performance of pre-optimization done (n=26): time 4.328e-06/1.388, allocations: 0 / 1.516 GB, free: 3.727 MB / 1.186 GB Notification: Performance of matching and sorting (n=29): time 0.003691/1.392, allocations: 1.112 MB / 1.517 GB, free: 2.555 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.427e-05/1.392, allocations: 55.41 kB / 1.517 GB, free: 2.488 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007725/1.392, allocations: 477.8 kB / 1.518 GB, free: 2.012 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.466e-05/1.393, allocations: 37.7 kB / 1.518 GB, free: 1.969 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/1.393, allocations: 236.6 kB / 1.518 GB, free: 1.734 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000139/1.393, allocations: 107.1 kB / 1.518 GB, free: 1.629 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/1.393, allocations: 74.03 kB / 1.518 GB, free: 1.551 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002206/1.393, allocations: 358.8 kB / 1.518 GB, free: 1.191 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/1.394, allocations: 132.7 kB / 1.519 GB, free: 1.062 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/1.394, allocations: 186.8 kB / 1.519 GB, free: 0.8633 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005532/1.395, allocations: 307.4 kB / 1.519 GB, free: 0.5469 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.395, allocations: 0 / 1.519 GB, free: 0.5469 MB / 1.186 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001168/1.396, allocations: 498.5 kB / 1.52 GB, free: 52 kB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/1.396, allocations: 4 kB / 1.52 GB, free: 48 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/1.396, allocations: 7.938 kB / 1.52 GB, free: 40 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004542/1.396, allocations: 80.88 kB / 1.52 GB, free: 15.95 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/1.397, allocations: 59.91 kB / 1.52 GB, free: 15.89 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/1.399, allocations: 1.912 MB / 1.522 GB, free: 13.84 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003932/1.399, allocations: 12 kB / 1.522 GB, free: 13.83 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/1.399, allocations: 11.98 kB / 1.522 GB, free: 13.82 MB / 1.201 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.0003247/1.399, allocations: 194.8 kB / 1.522 GB, free: 13.62 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.3e-05/1.4, allocations: 51.67 kB / 1.522 GB, free: 13.57 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/1.4, allocations: 52.64 kB / 1.522 GB, free: 13.52 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/1.4, allocations: 4 kB / 1.522 GB, free: 13.51 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.4, allocations: 4.188 kB / 1.522 GB, free: 13.51 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/1.4, allocations: 4 kB / 1.522 GB, free: 13.5 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/1.401, allocations: 0.9721 MB / 1.523 GB, free: 12.48 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.402, allocations: 0 / 1.523 GB, free: 12.48 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003755/1.402, allocations: 63.91 kB / 1.523 GB, free: 12.41 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003277/1.402, allocations: 84.72 kB / 1.523 GB, free: 12.33 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/1.402, allocations: 8 kB / 1.523 GB, free: 12.32 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/1.404, allocations: 1.649 MB / 1.525 GB, free: 10.53 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.404, allocations: 0 / 1.525 GB, free: 10.53 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/1.405, allocations: 0.5793 MB / 1.525 GB, free: 9.93 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002625/1.406, allocations: 148.8 kB / 1.525 GB, free: 9.766 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.456e-05/1.406, allocations: 15.94 kB / 1.525 GB, free: 9.75 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003472/1.406, allocations: 13.88 kB / 1.525 GB, free: 9.738 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/1.406, allocations: 23.97 kB / 1.525 GB, free: 9.715 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/1.406, allocations: 8 kB / 1.525 GB, free: 9.707 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004567/1.406, allocations: 311.1 kB / 1.526 GB, free: 9.402 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/1.406, allocations: 0 / 1.526 GB, free: 9.402 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006286/1.407, allocations: 128 kB / 1.526 GB, free: 9.277 MB / 1.201 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.003471/1.411, allocations: 1.445 MB / 1.527 GB, free: 7.965 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001023/1.412, allocations: 402.4 kB / 1.528 GB, free: 7.559 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.412, allocations: 4 kB / 1.528 GB, free: 7.555 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003882/1.412, allocations: 247 kB / 1.528 GB, free: 7.301 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/1.413, allocations: 247.5 kB / 1.528 GB, free: 7.07 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008279/1.422, allocations: 4.168 MB / 1.532 GB, free: 2.785 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007776/1.422, allocations: 0.858 MB / 1.533 GB, free: 1.902 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0006389/1.423, allocations: 84.33 kB / 1.533 GB, free: 1.816 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003895/1.423, allocations: 155.4 kB / 1.533 GB, free: 1.664 MB / 1.201 GB Notification: Performance of SimCode: time 1.453e-06/1.423, allocations: 4 kB / 1.533 GB, free: 1.66 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06339/1.487, allocations: 13.13 MB / 1.546 GB, free: 4.727 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/13.14, allocations: 11.94 kB / 1.546 GB, free: 4.715 MB / 1.217 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.29963741498068]