Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001326/0.001326, allocations: 115.9 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.001431/0.001431, allocations: 215 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.509/1.509, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.997/2.997, allocations: 0.49 GB / 0.7923 GB, free: 1.324 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Examples_Tutorial_Boiler_System1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_12_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.001948/0.001948, allocations: 68.08 kB / 1.149 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9994/1.001, allocations: 176.1 MB / 1.321 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2279/1.229, allocations: 166.4 MB / 1.484 GB, free: 14.31 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.007037/1.236, allocations: 3.572 MB / 1.487 GB, free: 11.44 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009534/1.237, allocations: 24.22 kB / 1.487 GB, free: 11.43 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/1.238, allocations: 292.4 kB / 1.488 GB, free: 11.2 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002787/1.241, allocations: 0.9296 MB / 1.489 GB, free: 10.49 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001428/1.243, allocations: 442.9 kB / 1.489 GB, free: 10.15 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002244/1.245, allocations: 1.108 MB / 1.49 GB, free: 9.496 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006752/1.245, allocations: 282.3 kB / 1.49 GB, free: 9.293 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/1.247, allocations: 472.8 kB / 1.491 GB, free: 9.016 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/1.248, allocations: 373.8 kB / 1.491 GB, free: 8.793 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 8.898e-05/1.248, allocations: 40.34 kB / 1.491 GB, free: 8.793 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001873/1.25, allocations: 0.7408 MB / 1.492 GB, free: 8.383 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000251/1.25, allocations: 169.3 kB / 1.492 GB, free: 8.266 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000468/1.251, allocations: 277 kB / 1.492 GB, free: 8.082 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002989/1.254, allocations: 0.9559 MB / 1.493 GB, free: 7.453 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.254, allocations: 0 / 1.493 GB, free: 7.453 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.285e-06/1.254, allocations: 0 / 1.493 GB, free: 7.453 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.522e-05/1.254, allocations: 1.094 kB / 1.493 GB, free: 7.453 MB / 1.17 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.002031/1.256, allocations: 0.8937 MB / 1.494 GB, free: 6.691 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/1.256, allocations: 13.73 kB / 1.494 GB, free: 6.688 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.701e-05/1.256, allocations: 11.25 kB / 1.494 GB, free: 6.684 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.676e-05/1.256, allocations: 64.34 kB / 1.494 GB, free: 6.621 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/1.257, allocations: 158.1 kB / 1.494 GB, free: 6.547 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009436/1.258, allocations: 0.5006 MB / 1.495 GB, free: 6.125 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/1.258, allocations: 23.66 kB / 1.495 GB, free: 6.113 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-05/1.258, allocations: 32.38 kB / 1.495 GB, free: 6.102 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007388/1.259, allocations: 321.5 kB / 1.495 GB, free: 5.902 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/1.259, allocations: 3.938 kB / 1.495 GB, free: 5.898 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.865e-05/1.259, allocations: 15.22 kB / 1.495 GB, free: 5.887 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.884e-05/1.259, allocations: 14.55 kB / 1.495 GB, free: 5.883 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005239/1.26, allocations: 228 kB / 1.496 GB, free: 5.77 MB / 1.17 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.002893/1.263, allocations: 1.517 MB / 1.497 GB, free: 4.363 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004408/1.263, allocations: 210.8 kB / 1.497 GB, free: 4.246 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/1.263, allocations: 102 kB / 1.497 GB, free: 4.191 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/1.263, allocations: 3.625 kB / 1.497 GB, free: 4.191 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003431/1.264, allocations: 164.9 kB / 1.497 GB, free: 4.07 MB / 1.17 GB Notification: Performance of pre-optimization done (n=26): time 2.034e-06/1.264, allocations: 0 / 1.497 GB, free: 4.07 MB / 1.17 GB Notification: Performance of matching and sorting (n=29): time 0.003219/1.267, allocations: 1.106 MB / 1.499 GB, free: 3.332 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/1.267, allocations: 58.8 kB / 1.499 GB, free: 3.266 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006767/1.268, allocations: 469.7 kB / 1.499 GB, free: 2.992 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/1.268, allocations: 34.92 kB / 1.499 GB, free: 2.953 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/1.268, allocations: 250 kB / 1.499 GB, free: 2.73 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/1.268, allocations: 104.6 kB / 1.499 GB, free: 2.641 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/1.268, allocations: 80.58 kB / 1.499 GB, free: 2.586 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002771/1.268, allocations: 358.2 kB / 1.5 GB, free: 2.238 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/1.269, allocations: 120.3 kB / 1.5 GB, free: 2.184 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/1.269, allocations: 188.4 kB / 1.5 GB, free: 2.008 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005339/1.27, allocations: 307.4 kB / 1.5 GB, free: 1.691 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/1.27, allocations: 4 kB / 1.5 GB, free: 1.688 MB / 1.17 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001176/1.271, allocations: 494.3 kB / 1.501 GB, free: 1.195 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/1.271, allocations: 4 kB / 1.501 GB, free: 1.191 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.271, allocations: 4 kB / 1.501 GB, free: 1.188 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003951/1.271, allocations: 84.95 kB / 1.501 GB, free: 1.102 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/1.271, allocations: 67.91 kB / 1.501 GB, free: 1.035 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/1.274, allocations: 1.908 MB / 1.503 GB, free: 14.99 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003879/1.274, allocations: 8 kB / 1.503 GB, free: 14.98 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.718e-05/1.274, allocations: 20 kB / 1.503 GB, free: 14.96 MB / 1.186 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.0003099/1.274, allocations: 200.7 kB / 1.503 GB, free: 14.76 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.269e-05/1.274, allocations: 51.67 kB / 1.503 GB, free: 14.71 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/1.275, allocations: 52.66 kB / 1.503 GB, free: 14.66 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/1.275, allocations: 4 kB / 1.503 GB, free: 14.65 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/1.275, allocations: 3.984 kB / 1.503 GB, free: 14.65 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/1.275, allocations: 4 kB / 1.503 GB, free: 14.64 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/1.277, allocations: 0.9601 MB / 1.504 GB, free: 13.62 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.277, allocations: 4 kB / 1.504 GB, free: 13.62 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/1.277, allocations: 63.95 kB / 1.504 GB, free: 13.56 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003313/1.277, allocations: 84.67 kB / 1.504 GB, free: 13.47 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/1.277, allocations: 11.98 kB / 1.504 GB, free: 13.46 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/1.279, allocations: 1.645 MB / 1.506 GB, free: 11.68 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.279, allocations: 0 / 1.506 GB, free: 11.68 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/1.28, allocations: 0.5749 MB / 1.506 GB, free: 11.08 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/1.281, allocations: 152.8 kB / 1.507 GB, free: 10.91 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.811e-05/1.281, allocations: 15.88 kB / 1.507 GB, free: 10.9 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/1.281, allocations: 8 kB / 1.507 GB, free: 10.89 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.809e-05/1.281, allocations: 23.91 kB / 1.507 GB, free: 10.87 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/1.281, allocations: 15.98 kB / 1.507 GB, free: 10.85 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004105/1.281, allocations: 311.1 kB / 1.507 GB, free: 10.55 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/1.281, allocations: 4 kB / 1.507 GB, free: 10.55 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006042/1.282, allocations: 124 kB / 1.507 GB, free: 10.43 MB / 1.186 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.003207/1.285, allocations: 1.447 MB / 1.509 GB, free: 9.113 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0008352/1.286, allocations: 398.4 kB / 1.509 GB, free: 8.711 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.286, allocations: 0 / 1.509 GB, free: 8.711 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003519/1.286, allocations: 246.5 kB / 1.509 GB, free: 8.457 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/1.288, allocations: 242.6 kB / 1.509 GB, free: 8.227 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007473/1.295, allocations: 4.176 MB / 1.513 GB, free: 3.93 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005714/1.296, allocations: 0.8619 MB / 1.514 GB, free: 3.043 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003639/1.296, allocations: 80.33 kB / 1.514 GB, free: 2.965 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000344/1.296, allocations: 155.4 kB / 1.515 GB, free: 2.812 MB / 1.186 GB Notification: Performance of SimCode: time 9.62e-07/1.296, allocations: 0 / 1.515 GB, free: 2.812 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0421/1.339, allocations: 13.13 MB / 1.527 GB, free: 5.891 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/13.08, allocations: 3.938 kB / 1.527 GB, free: 5.887 MB / 1.201 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.8288192700129]