Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.668/1.668, allocations: 249.3 MB / 261.8 MB, free: 5.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 170.6 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.2 MB / 0.572 GB, free: 10.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 94.98 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.351e-05/3.354e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2215, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.263, allocations: 381.6 MB / 1.264 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003504/1.264, allocations: 88.12 kB / 1.265 GB, free: 1.266 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9824/2.246, allocations: 246.9 MB / 1.506 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.052e-06/2.246, allocations: 0 / 1.506 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.406e-05/2.246, allocations: 24 kB / 1.506 GB, free: 109 MB / 0.8698 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.001649/2.248, allocations: 0.9051 MB / 1.507 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/2.248, allocations: 8.031 kB / 1.507 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007809/2.249, allocations: 190.9 kB / 1.507 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02061/2.269, allocations: 11.43 MB / 1.518 GB, free: 96.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003124/2.27, allocations: 92.72 kB / 1.518 GB, free: 96.21 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.97e-05/2.27, allocations: 40 kB / 1.518 GB, free: 96.17 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007025/2.271, allocations: 454.3 kB / 1.518 GB, free: 95.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/2.271, allocations: 0 / 1.518 GB, free: 95.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.64e-05/2.271, allocations: 16 kB / 1.518 GB, free: 95.69 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/2.271, allocations: 15.95 kB / 1.518 GB, free: 95.67 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000449/2.271, allocations: 315 kB / 1.519 GB, free: 95.36 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.002609/2.274, allocations: 2.264 MB / 1.521 GB, free: 92.89 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004447/2.274, allocations: 271.1 kB / 1.521 GB, free: 92.62 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/2.274, allocations: 177 kB / 1.521 GB, free: 92.44 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/2.275, allocations: 348.7 kB / 1.522 GB, free: 92.03 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003021/2.275, allocations: 251.9 kB / 1.522 GB, free: 91.76 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 2.264e-06/2.275, allocations: 0 / 1.522 GB, free: 91.76 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.0008504/2.276, allocations: 495.9 kB / 1.522 GB, free: 91.27 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/2.276, allocations: 85.05 kB / 1.523 GB, free: 91.16 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003974/2.276, allocations: 428.9 kB / 1.523 GB, free: 90.73 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/2.276, allocations: 33.7 kB / 1.523 GB, free: 90.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/2.277, allocations: 276.4 kB / 1.523 GB, free: 90.42 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.976e-05/2.277, allocations: 118.4 kB / 1.523 GB, free: 90.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.808e-05/2.277, allocations: 4 kB / 1.523 GB, free: 90.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.589e-05/2.277, allocations: 362.8 kB / 1.524 GB, free: 89.94 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/2.277, allocations: 127.7 kB / 1.524 GB, free: 89.81 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/2.277, allocations: 235.3 kB / 1.524 GB, free: 89.54 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/2.277, allocations: 177.6 kB / 1.524 GB, free: 89.36 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/2.277, allocations: 4 kB / 1.524 GB, free: 89.36 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006919/2.278, allocations: 0.5267 MB / 1.525 GB, free: 88.82 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001416/2.278, allocations: 0.6505 MB / 1.525 GB, free: 88.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/2.278, allocations: 4 kB / 1.525 GB, free: 88.11 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002065/2.278, allocations: 48.84 kB / 1.525 GB, free: 88.06 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/2.279, allocations: 91.88 kB / 1.525 GB, free: 87.97 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000322/2.279, allocations: 0.5914 MB / 1.526 GB, free: 87.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005608/2.28, allocations: 83.69 kB / 1.526 GB, free: 87.27 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.994e-05/2.28, allocations: 23.98 kB / 1.526 GB, free: 87.25 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/2.28, allocations: 0 / 1.526 GB, free: 87.25 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006763/2.28, allocations: 474 kB / 1.527 GB, free: 86.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/2.281, allocations: 4 kB / 1.527 GB, free: 86.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001334/2.281, allocations: 56.95 kB / 1.527 GB, free: 86.71 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003188/2.281, allocations: 83.88 kB / 1.527 GB, free: 86.63 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/2.282, allocations: 1.627 MB / 1.528 GB, free: 84.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/2.283, allocations: 75.89 kB / 1.528 GB, free: 84.78 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/2.283, allocations: 20.03 kB / 1.528 GB, free: 84.76 MB / 0.8698 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 () * 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.0001482/2.283, allocations: 166.9 kB / 1.529 GB, free: 84.58 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.422e-05/2.283, allocations: 59.34 kB / 1.529 GB, free: 84.52 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009293/2.284, allocations: 0.5673 MB / 1.529 GB, free: 83.94 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/2.284, allocations: 7.938 kB / 1.529 GB, free: 83.93 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/2.284, allocations: 0 / 1.529 GB, free: 83.93 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006527/2.285, allocations: 0.7286 MB / 1.53 GB, free: 83.13 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/2.286, allocations: 1.229 MB / 1.531 GB, free: 81.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/2.286, allocations: 0 / 1.531 GB, free: 81.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/2.286, allocations: 68.05 kB / 1.531 GB, free: 81.76 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/2.286, allocations: 48.77 kB / 1.531 GB, free: 81.71 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/2.287, allocations: 8 kB / 1.531 GB, free: 81.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002421/2.287, allocations: 0.5836 MB / 1.532 GB, free: 81.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/2.287, allocations: 0 / 1.532 GB, free: 81.09 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009881/2.288, allocations: 0.8834 MB / 1.533 GB, free: 80.15 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/2.288, allocations: 180.3 kB / 1.533 GB, free: 79.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.902e-05/2.288, allocations: 15.95 kB / 1.533 GB, free: 79.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005135/2.289, allocations: 71.91 kB / 1.533 GB, free: 79.87 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/2.289, allocations: 19.91 kB / 1.533 GB, free: 79.85 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/2.289, allocations: 23.98 kB / 1.533 GB, free: 79.83 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003017/2.289, allocations: 337.5 kB / 1.533 GB, free: 79.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/2.289, allocations: 0 / 1.533 GB, free: 79.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00118/2.29, allocations: 379.4 kB / 1.534 GB, free: 79.13 MB / 0.8698 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) * 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.0007271/2.291, allocations: 423.1 kB / 1.534 GB, free: 78.71 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001137/2.292, allocations: 0.8415 MB / 1.535 GB, free: 77.84 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/2.292, allocations: 4.688 kB / 1.535 GB, free: 77.83 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002951/2.292, allocations: 271.7 kB / 1.535 GB, free: 77.55 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/2.294, allocations: 240.5 kB / 1.535 GB, free: 77.32 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/2.295, allocations: 0.7761 MB / 1.536 GB, free: 76.51 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/2.295, allocations: 0.8871 MB / 1.537 GB, free: 75.59 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006226/2.296, allocations: 152.2 kB / 1.537 GB, free: 75.45 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.344e-05/2.296, allocations: 43.42 kB / 1.537 GB, free: 75.4 MB / 0.8698 GB Notification: Performance of SimCode: time 3.41e-07/2.296, allocations: 0 / 1.537 GB, free: 75.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.01856/2.314, allocations: 13.23 MB / 1.55 GB, free: 62.24 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Interfaces_Examples_ConservationEquation.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches