Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y.y|boiDyn.QFue_flow|boiSte.QFue_flow|boiDyn.vol.VLiq|boiSte.VLiq",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial") translateModel(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y.y|boiDyn.QFue_flow|boiSte.QFue_flow|boiDyn.vol.VLiq|boiSte.VLiq",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001773/0.001773, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.736/2.736, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004593/0.0004594, allocations: 8 kB / 0.8708 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9268/0.9273, allocations: 153.6 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial): time 0.1862/1.114, allocations: 142.5 MB / 1.16 GB, free: 2.242 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01834/1.132, allocations: 12.55 MB / 1.172 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/1.133, allocations: 27.81 kB / 1.172 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001862/1.135, allocations: 0.5172 MB / 1.173 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00554/1.141, allocations: 1.537 MB / 1.174 GB, free: 3.582 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005951/1.147, allocations: 1.548 MB / 1.176 GB, free: 2.043 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002993/1.15, allocations: 1.222 MB / 1.177 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009335/1.151, allocations: 0.5156 MB / 1.177 GB, free: 296 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004431/1.155, allocations: 1.48 MB / 1.179 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00088/1.156, allocations: 454 kB / 1.179 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.658e-05/1.156, allocations: 32 kB / 1.179 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005612/1.162, allocations: 2.419 MB / 1.182 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002791/1.162, allocations: 155.3 kB / 1.182 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004136/1.162, allocations: 213.2 kB / 1.182 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002912/1.165, allocations: 1.793 MB / 1.184 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/1.165, allocations: 0 / 1.184 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.874e-06/1.165, allocations: 8 kB / 1.184 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.869e-05/1.165, allocations: 0 / 1.184 GB, free: 9.734 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002341/1.168, allocations: 1.224 MB / 1.185 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/1.168, allocations: 16.03 kB / 1.185 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/1.169, allocations: 206.6 kB / 1.185 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/1.171, allocations: 0.6395 MB / 1.186 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.047e-05/1.171, allocations: 49.31 kB / 1.186 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/1.171, allocations: 64 kB / 1.186 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/1.172, allocations: 0.6683 MB / 1.187 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/1.172, allocations: 7.938 kB / 1.187 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.798e-05/1.172, allocations: 24 kB / 1.187 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/1.172, allocations: 16 kB / 1.187 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009319/1.173, allocations: 0.5086 MB / 1.187 GB, free: 6.199 MB / 0.9356 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.01742/1.19, allocations: 6.883 MB / 1.194 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005191/1.191, allocations: 275.8 kB / 1.194 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004484/1.191, allocations: 315.2 kB / 1.194 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004575/1.192, allocations: 302.3 kB / 1.195 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=38): time 2.324e-06/1.192, allocations: 0 / 1.195 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.00585/1.198, allocations: 2.4 MB / 1.197 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/1.198, allocations: 195.9 kB / 1.197 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/1.199, allocations: 0.794 MB / 1.198 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.765e-05/1.199, allocations: 37.7 kB / 1.198 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004528/1.2, allocations: 427.9 kB / 1.199 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/1.2, allocations: 141.9 kB / 1.199 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/1.2, allocations: 12 kB / 1.199 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001812/1.2, allocations: 326 kB / 1.199 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/1.201, allocations: 201 kB / 1.199 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005425/1.201, allocations: 342.8 kB / 1.2 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004991/1.202, allocations: 259.8 kB / 1.2 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/1.202, allocations: 0 / 1.2 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001661/1.203, allocations: 0.7822 MB / 1.201 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.000442/1.204, allocations: 0.8214 MB / 1.201 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.204, allocations: 4 kB / 1.201 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000873/1.205, allocations: 145.5 kB / 1.201 GB, free: 6.785 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008491/1.206, allocations: 147.9 kB / 1.202 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004592/1.21, allocations: 4.329 MB / 1.206 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/1.211, allocations: 76.08 kB / 1.206 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.887e-05/1.211, allocations: 27.94 kB / 1.206 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/1.211, allocations: 4 kB / 1.206 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001417/1.213, allocations: 0.6996 MB / 1.207 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/1.213, allocations: 4 kB / 1.207 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003311/1.213, allocations: 109.8 kB / 1.207 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005075/1.214, allocations: 115.9 kB / 1.207 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/1.217, allocations: 3.133 MB / 1.21 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008898/1.217, allocations: 67.83 kB / 1.21 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.084e-05/1.218, allocations: 23.98 kB / 1.21 GB, free: 13.46 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,y.a,y.b,y.last,$PRE.y.nextEvent,y.nextEvent,y.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005635/1.218, allocations: 348.6 kB / 1.21 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/1.218, allocations: 90.97 kB / 1.21 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/1.22, allocations: 0.7174 MB / 1.211 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/1.22, allocations: 4.188 kB / 1.211 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.22, allocations: 8 kB / 1.211 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/1.22, allocations: 7.969 kB / 1.211 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/1.222, allocations: 1.667 MB / 1.213 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.222, allocations: 3.938 kB / 1.213 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000433/1.223, allocations: 83.88 kB / 1.213 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004726/1.223, allocations: 96.89 kB / 1.213 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/1.223, allocations: 16.11 kB / 1.213 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002438/1.226, allocations: 2.765 MB / 1.216 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/1.226, allocations: 3.953 kB / 1.216 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/1.227, allocations: 0.9611 MB / 1.217 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004299/1.228, allocations: 228.3 kB / 1.217 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/1.228, allocations: 19.95 kB / 1.217 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005798/1.228, allocations: 40.02 kB / 1.217 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.996e-05/1.229, allocations: 27.95 kB / 1.217 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/1.229, allocations: 19.98 kB / 1.217 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009458/1.23, allocations: 0.5654 MB / 1.217 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.1e-07/1.23, allocations: 0 / 1.217 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002276/1.232, allocations: 0.6483 MB / 1.218 GB, free: 4.758 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (boiDyn.vol.VWat,boiSte.vol.VWat) * Number of discrete variables: 6 ($whenCondition1,y.a,y.b,y.last,y.nextEvent,y.nextEventScaled) * Number of discrete states: 6 (y.nextEvent,y.last,y.nextEventScaled,y.b,y.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001588/1.233, allocations: 0.4981 MB / 1.219 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002891/1.236, allocations: 1.469 MB / 1.22 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.236, allocations: 0 / 1.22 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006482/1.237, allocations: 422.6 kB / 1.22 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002024/1.239, allocations: 346.5 kB / 1.221 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/1.242, allocations: 1.805 MB / 1.223 GB, free: 96 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007282/1.243, allocations: 1.001 MB / 1.223 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008337/1.244, allocations: 160.4 kB / 1.224 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/1.244, allocations: 63.42 kB / 1.224 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of SimCode: time 1.573e-06/1.244, allocations: 0 / 1.224 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of Templates: time 0.04105/1.285, allocations: 22.19 MB / 1.245 GB, free: 8.898 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.sim & ./Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Plants_Steam_BaseClasses_Examples_BoilerPolynomial.csv","../files/Buildings_latest_Buildings.Experimental.DHC.Plants.Steam.BaseClasses.Examples.BoilerPolynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches