Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007274/0.007274, allocations: 96.31 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 195.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 437 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.89 kB / 1.018 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3481, allocations: 151.6 MB / 1.167 GB, free: 6.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.9263/1.274, allocations: 162.9 MB / 1.326 GB, free: 6.719 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007913/1.282, allocations: 3.468 MB / 1.329 GB, free: 4.281 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/1.284, allocations: 20.41 kB / 1.329 GB, free: 4.273 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001241/1.285, allocations: 290.7 kB / 1.329 GB, free: 4.125 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003434/1.288, allocations: 0.8839 MB / 1.33 GB, free: 3.633 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001762/1.29, allocations: 486.8 kB / 1.331 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002237/1.292, allocations: 1.1 MB / 1.332 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006245/1.293, allocations: 327.3 kB / 1.332 GB, free: 2.703 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009364/1.294, allocations: 423.8 kB / 1.332 GB, free: 2.512 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009918/1.295, allocations: 354.6 kB / 1.333 GB, free: 2.363 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.701e-05/1.295, allocations: 40.25 kB / 1.333 GB, free: 2.363 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002027/1.297, allocations: 0.6981 MB / 1.334 GB, free: 2.086 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002367/1.297, allocations: 168.6 kB / 1.334 GB, free: 2.012 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003758/1.298, allocations: 266.1 kB / 1.334 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001933/1.3, allocations: 0.942 MB / 1.335 GB, free: 1.512 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.3, allocations: 0 / 1.335 GB, free: 1.512 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.094e-06/1.3, allocations: 0 / 1.335 GB, free: 1.512 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.219e-05/1.3, allocations: 0 / 1.335 GB, free: 1.512 MB / 1.014 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.001749/1.301, allocations: 0.8878 MB / 1.336 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/1.301, allocations: 8.812 kB / 1.336 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/1.303, allocations: 154.4 kB / 1.336 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009572/1.304, allocations: 0.5007 MB / 1.336 GB, free: 436 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.254e-05/1.304, allocations: 24.66 kB / 1.336 GB, free: 424 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-05/1.304, allocations: 27.72 kB / 1.336 GB, free: 416 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006583/1.304, allocations: 323.8 kB / 1.337 GB, free: 260 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/1.304, allocations: 1.25 kB / 1.337 GB, free: 260 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.042e-05/1.305, allocations: 10.56 kB / 1.337 GB, free: 252 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.291e-05/1.305, allocations: 18.48 kB / 1.337 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004493/1.305, allocations: 220.8 kB / 1.337 GB, free: 168 kB / 1.014 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.002257/1.307, allocations: 1.419 MB / 1.338 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004484/1.308, allocations: 216 kB / 1.339 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/1.308, allocations: 117.9 kB / 1.339 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/1.308, allocations: 2.5 kB / 1.339 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003467/1.308, allocations: 167.6 kB / 1.339 GB, free: 14.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=26): time 2.063e-06/1.308, allocations: 5.031 kB / 1.339 GB, free: 14.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=29): time 0.00322/1.312, allocations: 1.097 MB / 1.34 GB, free: 14.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/1.312, allocations: 54.97 kB / 1.34 GB, free: 14.15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006484/1.312, allocations: 469.3 kB / 1.34 GB, free: 13.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.772e-05/1.312, allocations: 36.2 kB / 1.34 GB, free: 13.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/1.313, allocations: 238 kB / 1.341 GB, free: 13.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/1.313, allocations: 104 kB / 1.341 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/1.313, allocations: 76.62 kB / 1.341 GB, free: 13.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001733/1.313, allocations: 356.1 kB / 1.341 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/1.313, allocations: 128.1 kB / 1.341 GB, free: 13.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/1.314, allocations: 183.9 kB / 1.342 GB, free: 13.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004971/1.314, allocations: 308.7 kB / 1.342 GB, free: 12.92 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.314, allocations: 0 / 1.342 GB, free: 12.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001019/1.315, allocations: 492.7 kB / 1.342 GB, free: 12.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/1.315, allocations: 5.344 kB / 1.342 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/1.315, allocations: 2.25 kB / 1.342 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003626/1.316, allocations: 84.83 kB / 1.342 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/1.316, allocations: 65.12 kB / 1.342 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/1.318, allocations: 1.917 MB / 1.344 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/1.318, allocations: 13.89 kB / 1.344 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-05/1.318, allocations: 14.94 kB / 1.344 GB, free: 10.91 MB / 1.029 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.0003043/1.319, allocations: 189.7 kB / 1.344 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.324e-05/1.319, allocations: 50.44 kB / 1.345 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/1.319, allocations: 52.19 kB / 1.345 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/1.319, allocations: 8.469 kB / 1.345 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/1.319, allocations: 0 / 1.345 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/1.319, allocations: 8.156 kB / 1.345 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/1.321, allocations: 0.9683 MB / 1.346 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/1.321, allocations: 0.8125 kB / 1.346 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003568/1.321, allocations: 63.06 kB / 1.346 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000303/1.321, allocations: 79.88 kB / 1.346 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/1.321, allocations: 10.73 kB / 1.346 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001655/1.323, allocations: 1.652 MB / 1.347 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.323, allocations: 0 / 1.347 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/1.324, allocations: 0.5632 MB / 1.348 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/1.324, allocations: 158 kB / 1.348 GB, free: 8.055 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.007e-05/1.325, allocations: 8.406 kB / 1.348 GB, free: 8.051 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/1.325, allocations: 10.61 kB / 1.348 GB, free: 8.047 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.458e-05/1.325, allocations: 33.34 kB / 1.348 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/1.325, allocations: 13.55 kB / 1.348 GB, free: 8.027 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004336/1.325, allocations: 308.2 kB / 1.348 GB, free: 7.887 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.325, allocations: 0 / 1.348 GB, free: 7.887 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008557/1.326, allocations: 122.5 kB / 1.348 GB, free: 7.875 MB / 1.029 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.001159/1.327, allocations: 444.1 kB / 1.349 GB, free: 7.664 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009206/1.328, allocations: 426.1 kB / 1.349 GB, free: 7.434 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.328, allocations: 1.438 kB / 1.349 GB, free: 7.434 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003592/1.329, allocations: 256.9 kB / 1.35 GB, free: 7.262 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/1.33, allocations: 243.1 kB / 1.35 GB, free: 7.195 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/1.332, allocations: 0.9907 MB / 1.351 GB, free: 6.602 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/1.333, allocations: 0.8505 MB / 1.352 GB, free: 5.891 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003729/1.333, allocations: 91.81 kB / 1.352 GB, free: 5.859 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/1.333, allocations: 38.33 kB / 1.352 GB, free: 5.852 MB / 1.029 GB Notification: Performance of SimCode: time 8.61e-07/1.333, allocations: 0 / 1.352 GB, free: 5.852 MB / 1.029 GB Notification: Performance of Templates: time 0.01941/1.353, allocations: 8.874 MB / 1.36 GB, free: 3.043 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_10_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches