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.158/2.158, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001563/0.001563, allocations: 180.8 kB / 487.4 MB, free: 5.043 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.44/1.44, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000887/0.0008871, allocations: 101.5 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.83e-05/1.829e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.235, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.817/5.052, allocations: 1.927 GB / 3.132 GB, free: 350.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/5.052, allocations: 94.64 kB / 3.133 GB, free: 350.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.992/7.044, allocations: 0.5867 GB / 3.719 GB, free: 224.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.164e-06/7.044, allocations: 0 / 3.719 GB, free: 224.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002004/7.044, allocations: 35.53 kB / 3.719 GB, free: 224.6 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.005326/7.049, allocations: 1.719 MB / 3.721 GB, free: 222.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/7.049, allocations: 12.03 kB / 3.721 GB, free: 222.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002212/7.051, allocations: 295.4 kB / 3.721 GB, free: 222.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002324/7.054, allocations: 1.339 MB / 3.723 GB, free: 221.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.339e-05/7.054, allocations: 25.72 kB / 3.723 GB, free: 221.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/7.054, allocations: 67.98 kB / 3.723 GB, free: 221.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001147/7.055, allocations: 0.773 MB / 3.723 GB, free: 220.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/7.056, allocations: 0.8777 MB / 3.724 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/7.056, allocations: 0 / 3.724 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.725e-05/7.056, allocations: 4 kB / 3.724 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/7.056, allocations: 20 kB / 3.724 GB, free: 219.4 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.006099/7.063, allocations: 4.871 MB / 3.729 GB, free: 214.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/7.064, allocations: 0.7777 MB / 3.73 GB, free: 213.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004189/7.065, allocations: 366 kB / 3.73 GB, free: 213.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003736/7.065, allocations: 287 kB / 3.73 GB, free: 212.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/7.065, allocations: 39 kB / 3.731 GB, free: 212.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=50): time 2.245e-06/7.065, allocations: 0 / 3.731 GB, free: 212.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=50): time 0.002736/7.068, allocations: 1.026 MB / 3.732 GB, free: 211.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/7.068, allocations: 111.2 kB / 3.732 GB, free: 211.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/7.069, allocations: 1.375 MB / 3.733 GB, free: 210.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001279/7.07, allocations: 29.7 kB / 3.733 GB, free: 210.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004439/7.07, allocations: 0.5874 MB / 3.734 GB, free: 209.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000137/7.07, allocations: 165.5 kB / 3.734 GB, free: 209.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.112e-05/7.07, allocations: 4 kB / 3.734 GB, free: 209.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001127/7.07, allocations: 345.9 kB / 3.734 GB, free: 209.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009688/7.071, allocations: 0.7872 MB / 3.735 GB, free: 208.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/7.073, allocations: 1.139 MB / 3.736 GB, free: 207 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/7.074, allocations: 0.8378 MB / 3.737 GB, free: 206.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/7.074, allocations: 0 / 3.737 GB, free: 206.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003529/7.078, allocations: 2.002 MB / 3.739 GB, free: 204.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000532/7.078, allocations: 1.851 MB / 3.741 GB, free: 202.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/7.078, allocations: 4 kB / 3.741 GB, free: 202.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005981/7.079, allocations: 140.8 kB / 3.741 GB, free: 202.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/7.08, allocations: 223.7 kB / 3.741 GB, free: 201.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008668/7.081, allocations: 1.353 MB / 3.742 GB, free: 200.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/7.083, allocations: 210.8 kB / 3.742 GB, free: 200.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/7.083, allocations: 63.98 kB / 3.742 GB, free: 200.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/7.083, allocations: 5.562 kB / 3.742 GB, free: 200.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002777/7.086, allocations: 1.74 MB / 3.744 GB, free: 198.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/7.086, allocations: 4 kB / 3.744 GB, free: 198.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/7.086, allocations: 12 kB / 3.744 GB, free: 198.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/7.087, allocations: 235.7 kB / 3.744 GB, free: 198.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/7.087, allocations: 28 kB / 3.744 GB, free: 198.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/7.089, allocations: 171.2 kB / 3.745 GB, free: 198 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/7.089, allocations: 67.97 kB / 3.745 GB, free: 197.9 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.0003169/7.089, allocations: 132.7 kB / 3.745 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/7.089, allocations: 122.4 kB / 3.745 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/7.092, allocations: 1.164 MB / 3.746 GB, free: 196.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/7.092, allocations: 8 kB / 3.746 GB, free: 196.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/7.092, allocations: 0 / 3.746 GB, free: 196.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/7.092, allocations: 0 / 3.746 GB, free: 196.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003903/7.096, allocations: 2.388 MB / 3.748 GB, free: 194 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/7.096, allocations: 8.156 kB / 3.748 GB, free: 194 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005747/7.096, allocations: 131.8 kB / 3.749 GB, free: 193.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004855/7.097, allocations: 132.8 kB / 3.749 GB, free: 193.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/7.097, allocations: 15.98 kB / 3.749 GB, free: 193.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006372/7.097, allocations: 1.345 MB / 3.75 GB, free: 192.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/7.097, allocations: 4.031 kB / 3.75 GB, free: 192.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002597/7.1, allocations: 1.784 MB / 3.752 GB, free: 190.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000555/7.101, allocations: 375.3 kB / 3.752 GB, free: 190.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/7.101, allocations: 0 / 3.752 GB, free: 190.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/7.102, allocations: 107.9 kB / 3.752 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.365e-05/7.102, allocations: 44.33 kB / 3.752 GB, free: 189.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.34e-05/7.102, allocations: 39.98 kB / 3.752 GB, free: 189.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001129/7.103, allocations: 1.045 MB / 3.753 GB, free: 188.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/7.103, allocations: 0 / 3.753 GB, free: 188.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002754/7.106, allocations: 0.8189 MB / 3.754 GB, free: 188 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.003238/7.109, allocations: 1.961 MB / 3.756 GB, free: 186.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00382/7.113, allocations: 2.367 MB / 3.758 GB, free: 183.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/7.113, allocations: 3.938 kB / 3.758 GB, free: 183.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005882/7.114, allocations: 369.4 kB / 3.759 GB, free: 183.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/7.116, allocations: 326.3 kB / 3.759 GB, free: 183.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/7.119, allocations: 1.602 MB / 3.761 GB, free: 181.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007013/7.12, allocations: 1.196 MB / 3.762 GB, free: 180.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00295/7.123, allocations: 0.5816 MB / 3.762 GB, free: 179.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003961/7.124, allocations: 63.42 kB / 3.762 GB, free: 179.6 MB / 1.151 GB Notification: Performance of SimCode: time 6.01e-07/7.124, allocations: 0 / 3.762 GB, free: 179.6 MB / 1.151 GB Notification: Performance of Templates: time 0.05163/7.175, allocations: 34.09 MB / 3.796 GB, free: 145.7 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