Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.231/2.231, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001061/0.001061, allocations: 180.2 kB / 492.3 MB, free: 0.6094 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.545/1.545, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0008355/0.0008356, allocations: 101.2 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.392e-05/4.402e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2744, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.664/4.939, allocations: 1.927 GB / 3.14 GB, free: 402.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/4.939, allocations: 95.94 kB / 3.14 GB, free: 402.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.873/6.812, allocations: 0.594 GB / 3.734 GB, free: 232.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.302e-06/6.812, allocations: 0 / 3.734 GB, free: 232.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000105/6.812, allocations: 31.98 kB / 3.734 GB, free: 232.4 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.003958/6.816, allocations: 1.716 MB / 3.735 GB, free: 230.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/6.816, allocations: 12.03 kB / 3.735 GB, free: 230.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001918/6.818, allocations: 289.5 kB / 3.736 GB, free: 230.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002503/6.82, allocations: 1.341 MB / 3.737 GB, free: 229 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.225e-05/6.82, allocations: 70 kB / 3.737 GB, free: 228.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/6.82, allocations: 100 kB / 3.737 GB, free: 228.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/6.822, allocations: 0.9715 MB / 3.738 GB, free: 227.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/6.822, allocations: 7.953 kB / 3.738 GB, free: 227.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.187e-05/6.822, allocations: 31.94 kB / 3.738 GB, free: 227.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/6.822, allocations: 16 kB / 3.738 GB, free: 227.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/6.823, allocations: 0.8326 MB / 3.739 GB, free: 226.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.006177/6.829, allocations: 5.052 MB / 3.744 GB, free: 221.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/6.83, allocations: 0.7355 MB / 3.745 GB, free: 220.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004449/6.831, allocations: 378 kB / 3.745 GB, free: 220.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003416/6.831, allocations: 283.7 kB / 3.745 GB, free: 220.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/6.831, allocations: 39 kB / 3.745 GB, free: 220.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=50): time 2.695e-06/6.831, allocations: 0 / 3.745 GB, free: 220.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=50): time 0.0017/6.833, allocations: 0.9052 MB / 3.746 GB, free: 219.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/6.833, allocations: 107.2 kB / 3.746 GB, free: 219.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/6.835, allocations: 1.57 MB / 3.748 GB, free: 217.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001329/6.835, allocations: 49.7 kB / 3.748 GB, free: 217.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003739/6.835, allocations: 0.5921 MB / 3.748 GB, free: 216.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/6.835, allocations: 173.5 kB / 3.749 GB, free: 216.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.41e-05/6.835, allocations: 16 kB / 3.749 GB, free: 216.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.551e-05/6.835, allocations: 349.9 kB / 3.749 GB, free: 216.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009867/6.836, allocations: 0.7945 MB / 3.75 GB, free: 215.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/6.838, allocations: 1.17 MB / 3.751 GB, free: 214.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008674/6.838, allocations: 0.7067 MB / 3.752 GB, free: 213.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/6.838, allocations: 0 / 3.752 GB, free: 213.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002916/6.841, allocations: 1.936 MB / 3.753 GB, free: 211.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003446/6.842, allocations: 1.868 MB / 3.755 GB, free: 209.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/6.842, allocations: 4 kB / 3.755 GB, free: 209.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00061/6.842, allocations: 132.8 kB / 3.755 GB, free: 209.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/6.843, allocations: 219.6 kB / 3.756 GB, free: 209.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008019/6.844, allocations: 1.333 MB / 3.757 GB, free: 207.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/6.846, allocations: 238.7 kB / 3.757 GB, free: 207.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/6.846, allocations: 67.97 kB / 3.757 GB, free: 207.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/6.846, allocations: 4 kB / 3.757 GB, free: 207.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002376/6.849, allocations: 1.681 MB / 3.759 GB, free: 205.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/6.849, allocations: 4 kB / 3.759 GB, free: 205.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/6.849, allocations: 15.95 kB / 3.759 GB, free: 205.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/6.85, allocations: 244.2 kB / 3.759 GB, free: 205.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/6.85, allocations: 15.94 kB / 3.759 GB, free: 205.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/6.852, allocations: 211 kB / 3.759 GB, free: 205.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/6.852, allocations: 71.97 kB / 3.759 GB, free: 205.3 MB / 1.151 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.0002923/6.852, allocations: 169.4 kB / 3.76 GB, free: 205.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/6.852, allocations: 126.3 kB / 3.76 GB, free: 205 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/6.854, allocations: 1.075 MB / 3.761 GB, free: 203.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/6.854, allocations: 8 kB / 3.761 GB, free: 203.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/6.854, allocations: 3.938 kB / 3.761 GB, free: 203.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/6.854, allocations: 3.984 kB / 3.761 GB, free: 203.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003403/6.858, allocations: 2.363 MB / 3.763 GB, free: 201.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/6.858, allocations: 0 / 3.763 GB, free: 201.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005661/6.858, allocations: 144 kB / 3.763 GB, free: 201.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005828/6.859, allocations: 140.8 kB / 3.763 GB, free: 201.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-05/6.859, allocations: 23.98 kB / 3.763 GB, free: 201.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000637/6.86, allocations: 1.322 MB / 3.765 GB, free: 199.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/6.86, allocations: 4.031 kB / 3.765 GB, free: 199.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/6.862, allocations: 1.695 MB / 3.766 GB, free: 197.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007016/6.862, allocations: 383.1 kB / 3.767 GB, free: 197.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000242/6.863, allocations: 15.95 kB / 3.767 GB, free: 197.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/6.864, allocations: 111.9 kB / 3.767 GB, free: 197.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/6.864, allocations: 40.38 kB / 3.767 GB, free: 197.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.696e-05/6.864, allocations: 39.98 kB / 3.767 GB, free: 197.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001569/6.866, allocations: 1.206 MB / 3.768 GB, free: 196.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/6.866, allocations: 4 kB / 3.768 GB, free: 196.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003006/6.869, allocations: 0.8895 MB / 3.769 GB, free: 195.2 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.002602/6.871, allocations: 1.779 MB / 3.771 GB, free: 193.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003642/6.875, allocations: 2.426 MB / 3.773 GB, free: 191 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/6.875, allocations: 4 kB / 3.773 GB, free: 190.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005717/6.875, allocations: 387.8 kB / 3.773 GB, free: 190.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/6.878, allocations: 442.5 kB / 3.774 GB, free: 190.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/6.881, allocations: 1.637 MB / 3.775 GB, free: 188.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005924/6.882, allocations: 1.191 MB / 3.777 GB, free: 187.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003108/6.885, allocations: 0.634 MB / 3.777 GB, free: 186.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004294/6.885, allocations: 79.39 kB / 3.777 GB, free: 186.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.673e-06/6.885, allocations: 0 / 3.777 GB, free: 186.5 MB / 1.151 GB Notification: Performance of Templates: time 0.07167/6.957, allocations: 53.51 MB / 3.83 GB, free: 133.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.sim & ./Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Dampers_Validation_PressureIndependent.csv","../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Validation.PressureIndependent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches