Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.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.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damPreInd.m_flow|damExp.m_flow|damExpPI.m_flow|damPreInd.y|damPreInd.y_actual",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent") translateModel(Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damPreInd.m_flow|damExp.m_flow|damExpPI.m_flow|damPreInd.y|damPreInd.y_actual",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 249.3 MB / 261.8 MB, free: 5.961 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.001089/0.001089, allocations: 178 kB / 321.3 MB, free: 14.65 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.233/1.233, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0007613/0.0007613, allocations: 90.52 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.607e-05/2.608e-05, allocations: 0 / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1439, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.653/4.797, allocations: 2.213 GB / 3.105 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/4.797, allocations: 95.94 kB / 3.105 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.167/6.965, allocations: 0.5664 GB / 3.671 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.012e-06/6.965, allocations: 0 / 3.671 GB, free: 174.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001128/6.965, allocations: 35.83 kB / 3.671 GB, free: 174.9 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003692/6.968, allocations: 1.629 MB / 3.673 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/6.968, allocations: 11.19 kB / 3.673 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/6.97, allocations: 321.4 kB / 3.673 GB, free: 174 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002328/6.973, allocations: 1.276 MB / 3.675 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.299e-05/6.973, allocations: 78.55 kB / 3.675 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/6.973, allocations: 97.66 kB / 3.675 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/6.975, allocations: 0.9742 MB / 3.676 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/6.975, allocations: 2.719 kB / 3.676 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.357e-05/6.975, allocations: 30.88 kB / 3.676 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/6.975, allocations: 20.61 kB / 3.676 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/6.976, allocations: 0.8344 MB / 3.677 GB, free: 173.5 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.005566/6.981, allocations: 4.648 MB / 3.681 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/6.983, allocations: 0.742 MB / 3.682 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004875/6.983, allocations: 377.7 kB / 3.682 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003434/6.983, allocations: 286 kB / 3.682 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/6.983, allocations: 42.52 kB / 3.682 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=50): time 3.707e-06/6.983, allocations: 3.844 kB / 3.682 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=50): time 0.001818/6.985, allocations: 0.9055 MB / 3.683 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/6.985, allocations: 109.9 kB / 3.683 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001904/6.987, allocations: 1.557 MB / 3.685 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/6.987, allocations: 47.08 kB / 3.685 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003812/6.988, allocations: 0.6012 MB / 3.686 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/6.988, allocations: 180.9 kB / 3.686 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/6.988, allocations: 17.5 kB / 3.686 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.691e-05/6.988, allocations: 343.9 kB / 3.686 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007507/6.989, allocations: 0.6413 MB / 3.687 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009765/6.99, allocations: 1.01 MB / 3.688 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008761/6.991, allocations: 0.7332 MB / 3.688 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/6.991, allocations: 0 / 3.688 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002903/6.994, allocations: 1.818 MB / 3.69 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005329/6.994, allocations: 1.869 MB / 3.692 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/6.994, allocations: 7.125 kB / 3.692 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007298/6.995, allocations: 138.6 kB / 3.692 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009336/6.996, allocations: 224.7 kB / 3.692 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009562/6.997, allocations: 1.328 MB / 3.694 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/6.999, allocations: 238.3 kB / 3.694 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/6.999, allocations: 72.19 kB / 3.694 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/6.999, allocations: 3.531 kB / 3.694 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001973/7.001, allocations: 1.569 MB / 3.696 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/7.001, allocations: 7.453 kB / 3.696 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/7.001, allocations: 11.22 kB / 3.696 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009262/7.002, allocations: 251.1 kB / 3.696 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/7.002, allocations: 7.375 kB / 3.696 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/7.004, allocations: 219.4 kB / 3.696 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.933e-05/7.004, allocations: 70.84 kB / 3.696 GB, free: 166.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 (damPreInd.idx_sorted[1],damPreInd.idx_sorted[2],damPreInd.idx_sorted[3],damPreInd.idx_sorted[4],damPreInd.idx_sorted[5],damPreInd.idx_sorted[6],damPreInd.idx_sorted[7],damPreInd.idx_sorted[8],damPreInd.idx_sorted[9],damPreInd.idx_sorted[10],damPreInd.idx_sorted[11],damPreInd.idx_sorted[12],damPreInd.idx_sorted[13],conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002888/7.004, allocations: 180.8 kB / 3.696 GB, free: 166 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/7.004, allocations: 127.2 kB / 3.696 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/7.006, allocations: 1.069 MB / 3.697 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/7.006, allocations: 11.2 kB / 3.697 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/7.006, allocations: 3.703 kB / 3.697 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/7.006, allocations: 2.469 kB / 3.697 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003959/7.01, allocations: 2.368 MB / 3.7 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/7.01, allocations: 6.703 kB / 3.7 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000625/7.011, allocations: 131.2 kB / 3.7 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006065/7.012, allocations: 152.8 kB / 3.7 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.194e-05/7.012, allocations: 22.11 kB / 3.7 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007273/7.012, allocations: 1.325 MB / 3.701 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/7.012, allocations: 4.781 kB / 3.701 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00247/7.015, allocations: 1.695 MB / 3.703 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009136/7.016, allocations: 387 kB / 3.703 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004458/7.016, allocations: 9.938 kB / 3.703 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/7.018, allocations: 113.5 kB / 3.704 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/7.018, allocations: 50.45 kB / 3.704 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.241e-05/7.018, allocations: 39.67 kB / 3.704 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001975/7.02, allocations: 1.2 MB / 3.705 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.4e-07/7.02, allocations: 5.344 kB / 3.705 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003082/7.023, allocations: 0.8316 MB / 3.706 GB, free: 163.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (conPID.I.y,conPID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003162/7.026, allocations: 1.77 MB / 3.707 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003126/7.029, allocations: 2.197 MB / 3.709 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/7.029, allocations: 5.5 kB / 3.709 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006299/7.03, allocations: 387.7 kB / 3.71 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002785/7.033, allocations: 439.7 kB / 3.71 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/7.036, allocations: 1.646 MB / 3.712 GB, free: 162 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007639/7.037, allocations: 1.188 MB / 3.713 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002656/7.04, allocations: 0.5579 MB / 3.714 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/7.04, allocations: 66.2 kB / 3.714 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of SimCode: time 9.91e-07/7.04, allocations: 0 / 3.714 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.06988/7.11, allocations: 49.57 MB / 3.762 GB, free: 143.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches