Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.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.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumFixDp.m_flow|pumFixM_flow.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear") translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumFixDp.m_flow|pumFixM_flow.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.26/2.26, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.001086/0.001086, allocations: 184.2 kB / 492.3 MB, free: 0.625 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.563/1.563, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0008323/0.0008324, allocations: 102 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.132e-05/3.135e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2949, allocations: 142.3 MB / 1.212 GB, free: 38.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.265/1.56, allocations: 437.4 MB / 1.64 GB, free: 9.352 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/1.561, allocations: 88.64 kB / 1.64 GB, free: 9.309 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.194/4.755, allocations: 0.7763 GB / 2.416 GB, free: 213.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.094e-06/4.755, allocations: 0 / 2.416 GB, free: 213.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002162/4.755, allocations: 60.25 kB / 2.416 GB, free: 213.5 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.004315/4.759, allocations: 1.975 MB / 2.418 GB, free: 211.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/4.76, allocations: 8.031 kB / 2.418 GB, free: 211.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003948/4.763, allocations: 0.7249 MB / 2.419 GB, free: 210.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03201/4.796, allocations: 14.41 MB / 2.433 GB, free: 196.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/4.796, allocations: 86.06 kB / 2.433 GB, free: 196.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003046/4.796, allocations: 120 kB / 2.433 GB, free: 196.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002533/4.799, allocations: 1.227 MB / 2.434 GB, free: 195.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/4.799, allocations: 0 / 2.434 GB, free: 195.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/4.799, allocations: 43.19 kB / 2.434 GB, free: 195.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/4.799, allocations: 28 kB / 2.434 GB, free: 195.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/4.8, allocations: 0.8824 MB / 2.435 GB, free: 194.2 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.009843/4.81, allocations: 5.88 MB / 2.441 GB, free: 188.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/4.812, allocations: 0.7682 MB / 2.442 GB, free: 187.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004459/4.812, allocations: 332.2 kB / 2.442 GB, free: 187 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003996/4.816, allocations: 2.863 MB / 2.445 GB, free: 183.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/4.816, allocations: 36.38 kB / 2.445 GB, free: 183.8 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00056/4.817, allocations: 82.66 kB / 2.445 GB, free: 183.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=59): time 2.274e-06/4.817, allocations: 0 / 2.445 GB, free: 183.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=59): time 0.001405/4.818, allocations: 0.8177 MB / 2.446 GB, free: 182.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/4.818, allocations: 59.97 kB / 2.446 GB, free: 182.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/4.82, allocations: 1.302 MB / 2.447 GB, free: 181.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.238e-05/4.82, allocations: 45.7 kB / 2.447 GB, free: 181.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005212/4.821, allocations: 0.8571 MB / 2.448 GB, free: 180.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/4.821, allocations: 205.9 kB / 2.448 GB, free: 180.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/4.821, allocations: 19.36 kB / 2.448 GB, free: 180.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.856e-05/4.821, allocations: 341.9 kB / 2.448 GB, free: 180.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/4.821, allocations: 285.9 kB / 2.449 GB, free: 179.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006424/4.822, allocations: 0.7247 MB / 2.449 GB, free: 178.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005244/4.823, allocations: 386.9 kB / 2.45 GB, free: 178.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/4.823, allocations: 0 / 2.45 GB, free: 178.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002081/4.825, allocations: 1.248 MB / 2.451 GB, free: 177.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009679/4.826, allocations: 4.336 MB / 2.455 GB, free: 172.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/4.826, allocations: 19.62 kB / 2.455 GB, free: 172.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000666/4.826, allocations: 201.9 kB / 2.455 GB, free: 172.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000765/4.827, allocations: 226.9 kB / 2.456 GB, free: 172.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009441/4.828, allocations: 1.808 MB / 2.457 GB, free: 170.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/4.829, allocations: 114 kB / 2.457 GB, free: 170.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/4.829, allocations: 79.89 kB / 2.457 GB, free: 170.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/4.829, allocations: 7.938 kB / 2.457 GB, free: 170.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001994/4.831, allocations: 1.1 MB / 2.459 GB, free: 169 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/4.831, allocations: 10.59 kB / 2.459 GB, free: 169 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005395/4.832, allocations: 229 kB / 2.459 GB, free: 168.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006952/4.833, allocations: 218.6 kB / 2.459 GB, free: 168.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003877/4.837, allocations: 3.797 MB / 2.463 GB, free: 164.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/4.838, allocations: 111.3 kB / 2.463 GB, free: 164.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/4.838, allocations: 71.95 kB / 2.463 GB, free: 164.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 97 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 5,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003019/4.838, allocations: 164.7 kB / 2.463 GB, free: 164.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002413/4.839, allocations: 169.6 kB / 2.463 GB, free: 164 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/4.841, allocations: 1.223 MB / 2.464 GB, free: 162.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.432e-05/4.841, allocations: 19.94 kB / 2.464 GB, free: 162.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/4.841, allocations: 0 / 2.464 GB, free: 162.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/4.841, allocations: 3.984 kB / 2.464 GB, free: 162.8 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 postOpt removeSimpleEquations (simulation): time 0.004988/4.846, allocations: 2.452 MB / 2.467 GB, free: 160.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/4.846, allocations: 4 kB / 2.467 GB, free: 160.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005573/4.847, allocations: 125.4 kB / 2.467 GB, free: 160.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005534/4.847, allocations: 197 kB / 2.467 GB, free: 160 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.198e-05/4.848, allocations: 19.98 kB / 2.467 GB, free: 159.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/4.849, allocations: 1.766 MB / 2.469 GB, free: 158.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/4.849, allocations: 0 / 2.469 GB, free: 158.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/4.851, allocations: 1.27 MB / 2.47 GB, free: 156.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008237/4.852, allocations: 338.6 kB / 2.47 GB, free: 156.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/4.852, allocations: 14.22 kB / 2.47 GB, free: 156.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008473/4.853, allocations: 94.91 kB / 2.471 GB, free: 156.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/4.853, allocations: 52.39 kB / 2.471 GB, free: 156.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.68e-05/4.853, allocations: 39.97 kB / 2.471 GB, free: 156.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001552/4.854, allocations: 0.9964 MB / 2.472 GB, free: 155.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/4.854, allocations: 3.938 kB / 2.472 GB, free: 155.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004701/4.859, allocations: 1.084 MB / 2.473 GB, free: 154.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002968/4.862, allocations: 1.422 MB / 2.474 GB, free: 153 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00315/4.865, allocations: 1.582 MB / 2.476 GB, free: 151.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/4.865, allocations: 4 kB / 2.476 GB, free: 151.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007453/4.866, allocations: 439.6 kB / 2.476 GB, free: 150.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003389/4.869, allocations: 0.6836 MB / 2.477 GB, free: 150.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/4.873, allocations: 2.126 MB / 2.479 GB, free: 148.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009751/4.874, allocations: 1.435 MB / 2.48 GB, free: 146.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002512/4.877, allocations: 0.5985 MB / 2.481 GB, free: 146.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/4.877, allocations: 107.4 kB / 2.481 GB, free: 146 MB / 1.151 GB Notification: Performance of SimCode: time 1.182e-06/4.877, allocations: 4 kB / 2.481 GB, free: 146 MB / 1.151 GB Notification: Performance of Templates: time 0.07098/4.948, allocations: 47.12 MB / 2.527 GB, free: 99.62 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.csv","../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches