Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dyn.Q_flow|dyn.medium.T|ste.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dyn.Q_flow|dyn.medium.T|ste.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.545/2.545, allocations: 393.5 MB / 408.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.00159, allocations: 183.9 kB / 0.4902 GB, free: 2.074 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.78/1.78, allocations: 223.2 MB / 0.7992 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 92.39 kB / 0.9396 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000456/0.000456, allocations: 10.41 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3802, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.375/1.755, allocations: 402 MB / 1.622 GB, free: 11.12 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/1.756, allocations: 98.88 kB / 1.622 GB, free: 11.07 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.386/3.142, allocations: 260.1 MB / 1.876 GB, free: 351.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.194e-06/3.142, allocations: 1.312 kB / 1.876 GB, free: 351.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.287e-05/3.142, allocations: 18.12 kB / 1.876 GB, free: 351.9 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002284/3.144, allocations: 1.034 MB / 1.877 GB, free: 351.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/3.144, allocations: 10.34 kB / 1.877 GB, free: 351.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008819/3.145, allocations: 184.7 kB / 1.877 GB, free: 351.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02779/3.173, allocations: 12.09 MB / 1.889 GB, free: 350.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003625/3.173, allocations: 96.67 kB / 1.889 GB, free: 350.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.304e-05/3.173, allocations: 48.33 kB / 1.889 GB, free: 350.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/3.175, allocations: 0.502 MB / 1.889 GB, free: 350.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/3.175, allocations: 0 / 1.889 GB, free: 350.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.993e-05/3.175, allocations: 22.38 kB / 1.889 GB, free: 350.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.061e-05/3.175, allocations: 21.3 kB / 1.89 GB, free: 350.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/3.176, allocations: 422.3 kB / 1.89 GB, free: 350.7 MB / 1.167 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.00328/3.179, allocations: 2.269 MB / 1.892 GB, free: 349.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/3.18, allocations: 390.9 kB / 1.892 GB, free: 349.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002826/3.18, allocations: 340.9 kB / 1.893 GB, free: 348.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006299/3.181, allocations: 307.5 kB / 1.893 GB, free: 348.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 4.348e-06/3.181, allocations: 3.75 kB / 1.893 GB, free: 348.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.002376/3.183, allocations: 0.9579 MB / 1.894 GB, free: 348.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/3.183, allocations: 86.08 kB / 1.894 GB, free: 348.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006425/3.184, allocations: 431.5 kB / 1.895 GB, free: 348.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.767e-05/3.184, allocations: 32.8 kB / 1.895 GB, free: 348.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/3.184, allocations: 284.3 kB / 1.895 GB, free: 348.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/3.185, allocations: 108 kB / 1.895 GB, free: 348.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/3.185, allocations: 5.188 kB / 1.895 GB, free: 348.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001382/3.185, allocations: 366.4 kB / 1.895 GB, free: 347.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004568/3.185, allocations: 183.8 kB / 1.895 GB, free: 347.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005034/3.186, allocations: 276.4 kB / 1.896 GB, free: 347.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/3.186, allocations: 230.4 kB / 1.896 GB, free: 347.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/3.186, allocations: 0.9688 kB / 1.896 GB, free: 347.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001418/3.188, allocations: 0.6386 MB / 1.897 GB, free: 347.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002181/3.188, allocations: 0.6467 MB / 1.897 GB, free: 346.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/3.188, allocations: 5.797 kB / 1.897 GB, free: 346.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002464/3.188, allocations: 53.7 kB / 1.897 GB, free: 346.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/3.188, allocations: 82.53 kB / 1.897 GB, free: 346.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004161/3.189, allocations: 0.6014 MB / 1.898 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006887/3.19, allocations: 83.67 kB / 1.898 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.067e-05/3.19, allocations: 21.78 kB / 1.898 GB, free: 346.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/3.19, allocations: 5.281 kB / 1.898 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001281/3.191, allocations: 0.577 MB / 1.899 GB, free: 346.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/3.191, allocations: 2.281 kB / 1.899 GB, free: 346.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001595/3.191, allocations: 48.8 kB / 1.899 GB, free: 346.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/3.192, allocations: 89.94 kB / 1.899 GB, free: 346.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/3.193, allocations: 1.633 MB / 1.9 GB, free: 344.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006481/3.194, allocations: 86.94 kB / 1.9 GB, free: 344.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.084e-05/3.194, allocations: 21.3 kB / 1.9 GB, free: 344.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004603/3.194, allocations: 288.8 kB / 1.901 GB, free: 344.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/3.194, allocations: 63.78 kB / 1.901 GB, free: 344.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/3.196, allocations: 0.6764 MB / 1.901 GB, free: 344.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/3.196, allocations: 11.38 kB / 1.901 GB, free: 344.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/3.196, allocations: 0 / 1.901 GB, free: 344.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00127/3.197, allocations: 0.8314 MB / 1.902 GB, free: 344.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002689/3.2, allocations: 1.324 MB / 1.904 GB, free: 343.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/3.2, allocations: 1.156 kB / 1.904 GB, free: 343.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/3.2, allocations: 72.83 kB / 1.904 GB, free: 343.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001513/3.2, allocations: 46.19 kB / 1.904 GB, free: 343.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.544e-05/3.2, allocations: 13.56 kB / 1.904 GB, free: 343.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003776/3.201, allocations: 0.5821 MB / 1.904 GB, free: 343.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/3.201, allocations: 3.188 kB / 1.904 GB, free: 343.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/3.203, allocations: 1.042 MB / 1.905 GB, free: 342.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003558/3.203, allocations: 188.9 kB / 1.905 GB, free: 342.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-05/3.203, allocations: 8.5 kB / 1.905 GB, free: 342.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006031/3.204, allocations: 71.38 kB / 1.906 GB, free: 342.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.995e-05/3.204, allocations: 25.5 kB / 1.906 GB, free: 342.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.954e-05/3.204, allocations: 23.56 kB / 1.906 GB, free: 342.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005315/3.205, allocations: 342.9 kB / 1.906 GB, free: 342.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/3.205, allocations: 3.172 kB / 1.906 GB, free: 342.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001625/3.206, allocations: 379.4 kB / 1.906 GB, free: 342.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008794/3.207, allocations: 432.5 kB / 1.907 GB, free: 342.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001868/3.209, allocations: 0.9805 MB / 1.908 GB, free: 342.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.207e-06/3.209, allocations: 0 / 1.908 GB, free: 342.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005171/3.21, allocations: 329.7 kB / 1.908 GB, free: 342.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/3.211, allocations: 231.1 kB / 1.908 GB, free: 342.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/3.213, allocations: 1.337 MB / 1.909 GB, free: 341.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/3.213, allocations: 0.8955 MB / 1.91 GB, free: 341 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005357/3.214, allocations: 126.3 kB / 1.91 GB, free: 341 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/3.214, allocations: 51.33 kB / 1.911 GB, free: 341 MB / 1.167 GB Notification: Performance of SimCode: time 1.452e-06/3.214, allocations: 0 / 1.911 GB, free: 341 MB / 1.167 GB Notification: Performance of Templates: time 0.01997/3.234, allocations: 11.98 MB / 1.922 GB, free: 340.8 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ConservationEquation.csv","../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches