Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.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.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_latest_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_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.215/2.215, allocations: 390.5 MB / 398 MB, free: 10.96 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.0009897/0.00099, allocations: 186.5 kB / 491.2 MB, free: 1.605 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.706/1.706, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.000902/0.0009023, allocations: 97.75 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.634e-05/1.636e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.385, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.922/6.307, allocations: 1.927 GB / 3.14 GB, free: 341 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/6.307, allocations: 92.92 kB / 3.14 GB, free: 340.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.804/8.112, allocations: 0.5867 GB / 3.726 GB, free: 198.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.515e-06/8.112, allocations: 4 kB / 3.726 GB, free: 198.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001167/8.112, allocations: 31.75 kB / 3.726 GB, free: 198.2 MB / 1.151 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.004306/8.116, allocations: 1.713 MB / 3.728 GB, free: 196.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/8.116, allocations: 12.02 kB / 3.728 GB, free: 196.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001835/8.118, allocations: 287 kB / 3.728 GB, free: 196.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002231/8.12, allocations: 1.345 MB / 3.73 GB, free: 194.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/8.12, allocations: 24 kB / 3.73 GB, free: 194.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/8.121, allocations: 56 kB / 3.73 GB, free: 194.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001123/8.122, allocations: 0.773 MB / 3.731 GB, free: 193.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/8.123, allocations: 0.8863 MB / 3.731 GB, free: 193 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/8.123, allocations: 0 / 3.731 GB, free: 193 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-05/8.123, allocations: 11.98 kB / 3.731 GB, free: 192.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/8.123, allocations: 16 kB / 3.731 GB, free: 192.9 MB / 1.151 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.006159/8.129, allocations: 4.864 MB / 3.736 GB, free: 187.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/8.131, allocations: 0.7863 MB / 3.737 GB, free: 187.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004106/8.131, allocations: 370 kB / 3.737 GB, free: 186.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003159/8.132, allocations: 275.7 kB / 3.738 GB, free: 186.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/8.132, allocations: 35 kB / 3.738 GB, free: 186.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=50): time 1.944e-06/8.132, allocations: 0 / 3.738 GB, free: 186.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=50): time 0.002465/8.134, allocations: 1.03 MB / 3.739 GB, free: 185.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/8.134, allocations: 111.2 kB / 3.739 GB, free: 185.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/8.136, allocations: 1.386 MB / 3.74 GB, free: 183.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001265/8.136, allocations: 25.7 kB / 3.74 GB, free: 183.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000372/8.136, allocations: 0.5878 MB / 3.741 GB, free: 183.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/8.136, allocations: 169.5 kB / 3.741 GB, free: 183 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.166e-05/8.136, allocations: 0 / 3.741 GB, free: 183 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.212e-05/8.137, allocations: 345.9 kB / 3.741 GB, free: 182.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008989/8.137, allocations: 0.7833 MB / 3.742 GB, free: 181.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/8.139, allocations: 1.147 MB / 3.743 GB, free: 180.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/8.14, allocations: 0.83 MB / 3.744 GB, free: 179.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/8.14, allocations: 0 / 3.744 GB, free: 179.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00354/8.144, allocations: 2.002 MB / 3.746 GB, free: 177.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005602/8.144, allocations: 1.855 MB / 3.748 GB, free: 175.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/8.144, allocations: 4 kB / 3.748 GB, free: 175.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006229/8.145, allocations: 140.5 kB / 3.748 GB, free: 175.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/8.146, allocations: 227.6 kB / 3.748 GB, free: 175.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/8.147, allocations: 1.349 MB / 3.749 GB, free: 174 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/8.149, allocations: 203 kB / 3.75 GB, free: 173.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/8.15, allocations: 64.08 kB / 3.75 GB, free: 173.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/8.15, allocations: 4 kB / 3.75 GB, free: 173.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00317/8.153, allocations: 1.748 MB / 3.751 GB, free: 172 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/8.153, allocations: 7.953 kB / 3.751 GB, free: 172 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/8.153, allocations: 8 kB / 3.751 GB, free: 172 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/8.154, allocations: 243.9 kB / 3.752 GB, free: 171.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-05/8.154, allocations: 11.94 kB / 3.752 GB, free: 171.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/8.156, allocations: 183.1 kB / 3.752 GB, free: 171.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/8.156, allocations: 71.91 kB / 3.752 GB, free: 171.5 MB / 1.151 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.0004901/8.157, allocations: 136.7 kB / 3.752 GB, free: 171.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004931/8.157, allocations: 122.4 kB / 3.752 GB, free: 171.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003024/8.16, allocations: 1.156 MB / 3.753 GB, free: 170 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/8.16, allocations: 8 kB / 3.753 GB, free: 170 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/8.16, allocations: 4 kB / 3.753 GB, free: 170 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/8.16, allocations: 3.984 kB / 3.753 GB, free: 170 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00517/8.165, allocations: 2.386 MB / 3.756 GB, free: 167.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.956e-06/8.165, allocations: 4 kB / 3.756 GB, free: 167.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006121/8.166, allocations: 123.8 kB / 3.756 GB, free: 167.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000564/8.167, allocations: 136.8 kB / 3.756 GB, free: 167.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.138e-05/8.167, allocations: 15.98 kB / 3.756 GB, free: 167.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008081/8.168, allocations: 1.345 MB / 3.757 GB, free: 165.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/8.168, allocations: 0 / 3.757 GB, free: 165.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003023/8.171, allocations: 1.788 MB / 3.759 GB, free: 164 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000832/8.171, allocations: 371.1 kB / 3.759 GB, free: 163.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003977/8.172, allocations: 7.953 kB / 3.759 GB, free: 163.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/8.173, allocations: 107.9 kB / 3.759 GB, free: 163.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/8.173, allocations: 36.38 kB / 3.759 GB, free: 163.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-05/8.173, allocations: 39.98 kB / 3.759 GB, free: 163.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001699/8.175, allocations: 1.049 MB / 3.76 GB, free: 162.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.81e-07/8.175, allocations: 4 kB / 3.76 GB, free: 162.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003714/8.179, allocations: 0.8228 MB / 3.761 GB, free: 161.5 MB / 1.151 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.003438/8.182, allocations: 1.959 MB / 3.763 GB, free: 159.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004193/8.187, allocations: 2.359 MB / 3.765 GB, free: 157.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/8.187, allocations: 0 / 3.765 GB, free: 157.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000601/8.187, allocations: 370.1 kB / 3.766 GB, free: 156.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/8.19, allocations: 334.3 kB / 3.766 GB, free: 156.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/8.193, allocations: 1.595 MB / 3.768 GB, free: 154.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008033/8.194, allocations: 1.194 MB / 3.769 GB, free: 153.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003407/8.197, allocations: 0.5777 MB / 3.769 GB, free: 153.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004654/8.198, allocations: 71.36 kB / 3.769 GB, free: 153 MB / 1.151 GB Notification: Performance of SimCode: time 1.092e-06/8.198, allocations: 0 / 3.769 GB, free: 153 MB / 1.151 GB Notification: Performance of Templates: time 0.05052/8.248, allocations: 34.09 MB / 3.803 GB, free: 119.1 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent.csv","../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches