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.334/2.334, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001197/0.001197, allocations: 188.8 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.682/1.682, allocations: 221.3 MB / 0.7915 GB, free: 5.414 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.001029/0.001029, allocations: 91.94 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.361e-05, allocations: 0 / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.328, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.683/6.011, allocations: 1.928 GB / 3.147 GB, free: 386.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/6.011, allocations: 98.56 kB / 3.147 GB, free: 386.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.954/7.965, allocations: 0.594 GB / 3.741 GB, free: 230.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.353e-06/7.965, allocations: 0 / 3.741 GB, free: 230.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002187/7.965, allocations: 28 kB / 3.741 GB, free: 230.5 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.005656/7.971, allocations: 1.717 MB / 3.743 GB, free: 228.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/7.971, allocations: 12.03 kB / 3.743 GB, free: 228.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002519/7.974, allocations: 289.8 kB / 3.743 GB, free: 228.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003764/7.977, allocations: 1.347 MB / 3.744 GB, free: 227 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.394e-05/7.978, allocations: 70 kB / 3.744 GB, free: 227 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000487/7.978, allocations: 96 kB / 3.744 GB, free: 226.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/7.979, allocations: 0.9753 MB / 3.745 GB, free: 225.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/7.98, allocations: 0 / 3.745 GB, free: 225.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.27e-05/7.98, allocations: 35.94 kB / 3.745 GB, free: 225.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/7.98, allocations: 16 kB / 3.745 GB, free: 225.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/7.981, allocations: 0.8365 MB / 3.746 GB, free: 224.9 MB / 1.167 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.007261/7.988, allocations: 5.058 MB / 3.751 GB, free: 219.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/7.989, allocations: 0.7284 MB / 3.752 GB, free: 218.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004678/7.99, allocations: 383.5 kB / 3.752 GB, free: 218.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003629/7.99, allocations: 280.6 kB / 3.752 GB, free: 218.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/7.99, allocations: 39 kB / 3.752 GB, free: 218.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=50): time 3.216e-06/7.99, allocations: 0 / 3.752 GB, free: 218.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=50): time 0.002067/7.992, allocations: 0.9091 MB / 3.753 GB, free: 217.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/7.992, allocations: 115.2 kB / 3.753 GB, free: 217.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/7.994, allocations: 1.562 MB / 3.755 GB, free: 215.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002316/7.994, allocations: 49.7 kB / 3.755 GB, free: 215.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003786/7.995, allocations: 0.5935 MB / 3.756 GB, free: 214.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/7.995, allocations: 173.5 kB / 3.756 GB, free: 214.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.43e-05/7.995, allocations: 12 kB / 3.756 GB, free: 214.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.251e-05/7.995, allocations: 345.9 kB / 3.756 GB, free: 214.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/7.996, allocations: 0.7984 MB / 3.757 GB, free: 213.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/7.997, allocations: 1.17 MB / 3.758 GB, free: 212.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009125/7.998, allocations: 0.7028 MB / 3.759 GB, free: 211.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/7.998, allocations: 0 / 3.759 GB, free: 211.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003102/8.001, allocations: 1.936 MB / 3.761 GB, free: 209.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003394/8.002, allocations: 1.867 MB / 3.762 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/8.002, allocations: 4 kB / 3.762 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006636/8.002, allocations: 144.6 kB / 3.763 GB, free: 207.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/8.003, allocations: 219.7 kB / 3.763 GB, free: 207.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008109/8.004, allocations: 1.33 MB / 3.764 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/8.006, allocations: 234.7 kB / 3.764 GB, free: 205.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/8.006, allocations: 67.97 kB / 3.764 GB, free: 205.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/8.006, allocations: 4 kB / 3.764 GB, free: 205.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002281/8.009, allocations: 1.685 MB / 3.766 GB, free: 203.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/8.009, allocations: 8 kB / 3.766 GB, free: 203.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/8.009, allocations: 8 kB / 3.766 GB, free: 203.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/8.01, allocations: 244.2 kB / 3.766 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/8.01, allocations: 15.92 kB / 3.766 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/8.012, allocations: 214.9 kB / 3.766 GB, free: 203.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/8.012, allocations: 67.97 kB / 3.767 GB, free: 203.3 MB / 1.167 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.000309/8.012, allocations: 172.7 kB / 3.767 GB, free: 203.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002869/8.013, allocations: 130.3 kB / 3.767 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/8.015, allocations: 1.072 MB / 3.768 GB, free: 201.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.537e-06/8.015, allocations: 4 kB / 3.768 GB, free: 201.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/8.015, allocations: 4 kB / 3.768 GB, free: 201.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/8.015, allocations: 8.172 kB / 3.768 GB, free: 201.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003587/8.018, allocations: 2.37 MB / 3.77 GB, free: 199.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/8.018, allocations: 0 / 3.77 GB, free: 199.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000586/8.019, allocations: 132.1 kB / 3.77 GB, free: 199.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000558/8.019, allocations: 136.8 kB / 3.77 GB, free: 199.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.224e-05/8.019, allocations: 23.98 kB / 3.77 GB, free: 199.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000685/8.02, allocations: 1.318 MB / 3.772 GB, free: 197.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/8.02, allocations: 4.031 kB / 3.772 GB, free: 197.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/8.022, allocations: 1.699 MB / 3.773 GB, free: 196 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00086/8.023, allocations: 391 kB / 3.774 GB, free: 195.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003715/8.024, allocations: 12 kB / 3.774 GB, free: 195.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/8.025, allocations: 107.9 kB / 3.774 GB, free: 195.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/8.025, allocations: 44.31 kB / 3.774 GB, free: 195.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-05/8.025, allocations: 39.98 kB / 3.774 GB, free: 195.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001841/8.027, allocations: 1.206 MB / 3.775 GB, free: 194.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.81e-07/8.027, allocations: 3.938 kB / 3.775 GB, free: 194.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003501/8.031, allocations: 0.8896 MB / 3.776 GB, free: 193.3 MB / 1.167 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.002812/8.033, allocations: 1.776 MB / 3.778 GB, free: 191.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004013/8.037, allocations: 2.422 MB / 3.78 GB, free: 189 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/8.037, allocations: 4 kB / 3.78 GB, free: 189 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006035/8.038, allocations: 386.3 kB / 3.781 GB, free: 188.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/8.041, allocations: 439.5 kB / 3.781 GB, free: 188.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/8.044, allocations: 1.645 MB / 3.783 GB, free: 186.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006627/8.045, allocations: 1.19 MB / 3.784 GB, free: 185.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003257/8.048, allocations: 0.6379 MB / 3.784 GB, free: 184.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004478/8.049, allocations: 79.34 kB / 3.784 GB, free: 184.6 MB / 1.167 GB Notification: Performance of SimCode: time 9.21e-07/8.049, allocations: 0 / 3.784 GB, free: 184.6 MB / 1.167 GB Notification: Performance of Templates: time 0.06862/8.117, allocations: 53.5 MB / 3.837 GB, free: 131.2 MB / 1.167 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