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.428/2.428, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001511/0.001511, allocations: 189.2 kB / 498.1 MB, free: 5.695 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.713/1.713, allocations: 223.2 MB / 0.7948 GB, free: 17.77 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.001031/0.001031, allocations: 100.3 kB / 0.9346 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003769, allocations: 7.188 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3299, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.152/1.482, allocations: 437.5 MB / 1.65 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/1.482, allocations: 97.45 kB / 1.65 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.092/4.573, allocations: 0.7787 GB / 2.429 GB, free: 222.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.134e-06/4.574, allocations: 0 / 2.429 GB, free: 222.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004297/4.574, allocations: 50.67 kB / 2.429 GB, free: 222.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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.009851/4.584, allocations: 2.582 MB / 2.431 GB, free: 221.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/4.584, allocations: 10.72 kB / 2.431 GB, free: 221.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004884/4.589, allocations: 0.7349 MB / 2.432 GB, free: 221.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03574/4.625, allocations: 14.49 MB / 2.446 GB, free: 220.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001872/4.625, allocations: 90.16 kB / 2.446 GB, free: 220.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005933/4.625, allocations: 121.3 kB / 2.446 GB, free: 220.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003997/4.629, allocations: 1.327 MB / 2.448 GB, free: 220.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.044e-05/4.63, allocations: 7.703 kB / 2.448 GB, free: 220.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002022/4.63, allocations: 52.61 kB / 2.448 GB, free: 220.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.765e-05/4.63, allocations: 26.81 kB / 2.448 GB, free: 220.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003027/4.633, allocations: 1.064 MB / 2.449 GB, free: 220.5 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01142/4.644, allocations: 5.868 MB / 2.455 GB, free: 217.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/4.647, allocations: 0.9183 MB / 2.456 GB, free: 217.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005202/4.652, allocations: 2.845 MB / 2.458 GB, free: 216 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/4.652, allocations: 39.97 kB / 2.458 GB, free: 216 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009584/4.653, allocations: 83.84 kB / 2.458 GB, free: 216 MB / 1.167 GB Notification: Performance of pre-optimization done (n=59): time 5.5e-06/4.653, allocations: 0 / 2.458 GB, free: 216 MB / 1.167 GB Notification: Performance of matching and sorting (n=59): time 0.004819/4.658, allocations: 1.681 MB / 2.46 GB, free: 215.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/4.658, allocations: 58.16 kB / 2.46 GB, free: 215.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002791/4.661, allocations: 1.324 MB / 2.461 GB, free: 215.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001585/4.661, allocations: 40.42 kB / 2.461 GB, free: 215.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008486/4.662, allocations: 0.8548 MB / 2.462 GB, free: 215 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/4.662, allocations: 213 kB / 2.462 GB, free: 214.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.286e-05/4.662, allocations: 21.53 kB / 2.463 GB, free: 214.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001578/4.662, allocations: 337 kB / 2.463 GB, free: 214.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009739/4.663, allocations: 368.8 kB / 2.463 GB, free: 214.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/4.665, allocations: 0.7895 MB / 2.464 GB, free: 214 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/4.666, allocations: 470.3 kB / 2.464 GB, free: 214 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/4.666, allocations: 3.125 kB / 2.464 GB, free: 214 MB / 1.167 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003677/4.669, allocations: 1.395 MB / 2.466 GB, free: 213.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001025/4.67, allocations: 4.335 MB / 2.47 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.913e-05/4.67, allocations: 18.45 kB / 2.47 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008576/4.671, allocations: 208.3 kB / 2.47 GB, free: 209.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008744/4.672, allocations: 229.1 kB / 2.47 GB, free: 209.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/4.673, allocations: 1.812 MB / 2.472 GB, free: 207.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/4.675, allocations: 121.3 kB / 2.472 GB, free: 207.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002084/4.675, allocations: 82.05 kB / 2.472 GB, free: 207.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/4.675, allocations: 3.781 kB / 2.472 GB, free: 207.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003129/4.678, allocations: 1.244 MB / 2.474 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.061e-05/4.679, allocations: 13.19 kB / 2.474 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007251/4.679, allocations: 229.9 kB / 2.474 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007505/4.68, allocations: 218.6 kB / 2.474 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004465/4.685, allocations: 3.852 MB / 2.478 GB, free: 204.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/4.686, allocations: 116.2 kB / 2.478 GB, free: 204.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003092/4.687, allocations: 79.06 kB / 2.478 GB, free: 204.8 MB / 1.167 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 () * Number of clocked 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.001462/4.688, allocations: 492.2 kB / 2.478 GB, free: 204.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000575/4.689, allocations: 166.8 kB / 2.479 GB, free: 204.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003718/4.692, allocations: 1.389 MB / 2.48 GB, free: 204.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/4.692, allocations: 10.22 kB / 2.48 GB, free: 204.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.85e-06/4.692, allocations: 0 / 2.48 GB, free: 204.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/4.692, allocations: 3.891 kB / 2.48 GB, free: 204.4 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.006524/4.699, allocations: 2.615 MB / 2.483 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.555e-06/4.699, allocations: 0 / 2.483 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005928/4.7, allocations: 135.5 kB / 2.483 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000654/4.7, allocations: 189.8 kB / 2.483 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.658e-05/4.7, allocations: 21.53 kB / 2.483 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/4.701, allocations: 1.788 MB / 2.485 GB, free: 202.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/4.701, allocations: 10.31 kB / 2.485 GB, free: 202.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003249/4.705, allocations: 1.407 MB / 2.486 GB, free: 202 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/4.706, allocations: 338.7 kB / 2.486 GB, free: 201.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004971/4.706, allocations: 11.25 kB / 2.486 GB, free: 201.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/4.708, allocations: 94.58 kB / 2.486 GB, free: 201.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/4.708, allocations: 60.39 kB / 2.487 GB, free: 201.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/4.708, allocations: 36.95 kB / 2.487 GB, free: 201.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003073/4.711, allocations: 1.014 MB / 2.488 GB, free: 201.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/4.711, allocations: 2.75 kB / 2.488 GB, free: 201.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005707/4.717, allocations: 1.081 MB / 2.489 GB, free: 201.5 MB / 1.167 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 () * Number of clocked 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.003398/4.72, allocations: 1.43 MB / 2.49 GB, free: 201.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004527/4.725, allocations: 1.751 MB / 2.492 GB, free: 201 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/4.725, allocations: 2.625 kB / 2.492 GB, free: 201 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001281/4.726, allocations: 0.495 MB / 2.492 GB, free: 201 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003772/4.73, allocations: 0.7 MB / 2.493 GB, free: 201 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006667/4.737, allocations: 3.437 MB / 2.496 GB, free: 199.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001558/4.738, allocations: 1.422 MB / 2.498 GB, free: 198.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002415/4.741, allocations: 429.8 kB / 2.498 GB, free: 198.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004885/4.741, allocations: 132.3 kB / 2.498 GB, free: 198.7 MB / 1.167 GB Notification: Performance of SimCode: time 3.276e-06/4.741, allocations: 0 / 2.498 GB, free: 198.7 MB / 1.167 GB Notification: Performance of Templates: time 0.07801/4.819, allocations: 41.99 MB / 2.539 GB, free: 196.3 MB / 1.167 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