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.413/1.413, allocations: 249.5 MB / 257 MB, free: 6.926 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.001012/0.001012, allocations: 184.2 kB / 316.3 MB, free: 3.289 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0009457/0.0009458, allocations: 88.28 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.07e-05/2.038e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1703, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.921/5.092, allocations: 2.213 GB / 3.099 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/5.092, allocations: 95.94 kB / 3.099 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.093/7.185, allocations: 0.5592 GB / 3.658 GB, free: 172 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.533e-06/7.185, allocations: 0 / 3.658 GB, free: 172 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001046/7.185, allocations: 37.11 kB / 3.658 GB, free: 172 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.003122/7.188, allocations: 1.634 MB / 3.659 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/7.188, allocations: 7.188 kB / 3.659 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001731/7.19, allocations: 321.5 kB / 3.66 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/7.193, allocations: 1.273 MB / 3.661 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/7.193, allocations: 28.58 kB / 3.661 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/7.193, allocations: 59 kB / 3.661 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001508/7.194, allocations: 0.7752 MB / 3.662 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/7.196, allocations: 0.8849 MB / 3.663 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/7.196, allocations: 3.188 kB / 3.663 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/7.196, allocations: 0 / 3.663 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/7.196, allocations: 21.31 kB / 3.663 GB, free: 170.7 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.005608/7.201, allocations: 4.472 MB / 3.667 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/7.203, allocations: 0.85 MB / 3.668 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004424/7.204, allocations: 371.1 kB / 3.668 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003176/7.204, allocations: 284.3 kB / 3.669 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/7.204, allocations: 38.81 kB / 3.669 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=50): time 1.883e-06/7.204, allocations: 0 / 3.669 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=50): time 0.002526/7.207, allocations: 1.031 MB / 3.67 GB, free: 168 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/7.207, allocations: 114.5 kB / 3.67 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/7.208, allocations: 1.372 MB / 3.671 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.485e-05/7.208, allocations: 27.89 kB / 3.671 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003451/7.209, allocations: 0.5924 MB / 3.672 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/7.209, allocations: 168.8 kB / 3.672 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.177e-05/7.209, allocations: 0 / 3.672 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.961e-05/7.209, allocations: 342.4 kB / 3.672 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006505/7.21, allocations: 0.6329 MB / 3.673 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008209/7.211, allocations: 0.9873 MB / 3.674 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/7.212, allocations: 0.8705 MB / 3.675 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/7.212, allocations: 0 / 3.675 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003055/7.215, allocations: 1.884 MB / 3.676 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003415/7.216, allocations: 1.853 MB / 3.678 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/7.216, allocations: 3.5 kB / 3.678 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005295/7.216, allocations: 129.8 kB / 3.678 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009559/7.217, allocations: 234.3 kB / 3.679 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008112/7.218, allocations: 1.35 MB / 3.68 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/7.22, allocations: 208 kB / 3.68 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/7.22, allocations: 66.12 kB / 3.68 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/7.22, allocations: 7.844 kB / 3.68 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002465/7.222, allocations: 1.618 MB / 3.682 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/7.222, allocations: 11.27 kB / 3.682 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/7.222, allocations: 14.77 kB / 3.682 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009174/7.223, allocations: 250.5 kB / 3.682 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/7.223, allocations: 10.81 kB / 3.682 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/7.225, allocations: 184.4 kB / 3.682 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/7.225, allocations: 68.88 kB / 3.682 GB, free: 163.4 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: conPID.u_m:VARIABLE() "Connector of measurement input signal" type: Real 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.0003212/7.225, allocations: 147.7 kB / 3.682 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/7.226, allocations: 117.8 kB / 3.683 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002536/7.228, allocations: 1.155 MB / 3.684 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/7.228, allocations: 5.594 kB / 3.684 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/7.228, allocations: 2.25 kB / 3.684 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/7.228, allocations: 6.594 kB / 3.684 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004094/7.232, allocations: 2.391 MB / 3.686 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/7.232, allocations: 3 kB / 3.686 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006033/7.233, allocations: 142.2 kB / 3.686 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005129/7.233, allocations: 134.6 kB / 3.686 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.841e-05/7.233, allocations: 18.75 kB / 3.686 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006564/7.234, allocations: 1.34 MB / 3.688 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/7.234, allocations: 6.938 kB / 3.688 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/7.237, allocations: 1.783 MB / 3.689 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006142/7.237, allocations: 371.2 kB / 3.69 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/7.238, allocations: 11.73 kB / 3.69 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/7.239, allocations: 101 kB / 3.69 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/7.239, allocations: 47.69 kB / 3.69 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.714e-05/7.239, allocations: 41.91 kB / 3.69 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001151/7.24, allocations: 1.038 MB / 3.691 GB, free: 161 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/7.24, allocations: 2.812 kB / 3.691 GB, free: 161 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002149/7.242, allocations: 0.7614 MB / 3.692 GB, free: 160.9 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.002307/7.245, allocations: 1.963 MB / 3.694 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002498/7.247, allocations: 2.13 MB / 3.696 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/7.247, allocations: 10.09 kB / 3.696 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004936/7.248, allocations: 367.2 kB / 3.696 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/7.25, allocations: 337.6 kB / 3.696 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/7.252, allocations: 1.594 MB / 3.698 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005172/7.253, allocations: 1.192 MB / 3.699 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001856/7.254, allocations: 0.4939 MB / 3.7 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/7.255, allocations: 62.06 kB / 3.7 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of SimCode: time 6.32e-07/7.255, allocations: 0 / 3.7 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.04452/7.299, allocations: 31.04 MB / 3.73 GB, free: 157.9 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