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.053/2.053, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001438/0.001438, allocations: 184.8 kB / 487.4 MB, free: 5.062 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.478/1.478, allocations: 221.5 MB / 0.7824 GB, free: 1.008 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.0008841/0.0008841, allocations: 99.84 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.867e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3015, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.136/1.438, allocations: 436.7 MB / 1.632 GB, free: 1.949 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/1.438, allocations: 89.56 kB / 1.633 GB, free: 1.906 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 2.723/4.161, allocations: 0.7719 GB / 2.404 GB, free: 225.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.092e-06/4.161, allocations: 0 / 2.404 GB, free: 225.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001735/4.161, allocations: 51.95 kB / 2.404 GB, free: 225.2 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.003292/4.165, allocations: 1.976 MB / 2.406 GB, free: 223.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/4.165, allocations: 9.75 kB / 2.406 GB, free: 223.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003588/4.168, allocations: 0.7299 MB / 2.407 GB, free: 223.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0275/4.196, allocations: 14.37 MB / 2.421 GB, free: 215 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.322e-05/4.196, allocations: 33.56 kB / 2.421 GB, free: 215 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004015/4.196, allocations: 72.75 kB / 2.421 GB, free: 215 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002001/4.198, allocations: 0.8867 MB / 2.422 GB, free: 214.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/4.2, allocations: 1.083 MB / 2.423 GB, free: 213.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/4.2, allocations: 7.938 kB / 2.423 GB, free: 213.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.323e-05/4.2, allocations: 0 / 2.423 GB, free: 213.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/4.2, allocations: 24 kB / 2.423 GB, free: 213.5 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.007052/4.207, allocations: 5.687 MB / 2.429 GB, free: 207.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/4.209, allocations: 0.8434 MB / 2.43 GB, free: 206.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003845/4.209, allocations: 364 kB / 2.43 GB, free: 206.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00362/4.213, allocations: 2.812 MB / 2.433 GB, free: 203.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/4.213, allocations: 37.41 kB / 2.433 GB, free: 203.2 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006021/4.214, allocations: 65.47 kB / 2.433 GB, free: 203.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=59): time 2.555e-06/4.214, allocations: 0 / 2.433 GB, free: 203.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=59): time 0.002438/4.216, allocations: 0.9968 MB / 2.434 GB, free: 202.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.262e-05/4.216, allocations: 59.97 kB / 2.434 GB, free: 202.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/4.218, allocations: 1.196 MB / 2.435 GB, free: 200.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.913e-05/4.218, allocations: 31.95 kB / 2.435 GB, free: 200.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004749/4.218, allocations: 0.8536 MB / 2.436 GB, free: 200 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/4.219, allocations: 197 kB / 2.436 GB, free: 199.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/4.219, allocations: 0 / 2.436 GB, free: 199.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.336e-05/4.219, allocations: 345.9 kB / 2.436 GB, free: 199.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/4.219, allocations: 316.6 kB / 2.437 GB, free: 199.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005308/4.22, allocations: 0.74 MB / 2.437 GB, free: 198.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/4.221, allocations: 0.5106 MB / 2.438 GB, free: 197.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/4.221, allocations: 4 kB / 2.438 GB, free: 197.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003151/4.224, allocations: 1.35 MB / 2.439 GB, free: 196.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007227/4.225, allocations: 4.34 MB / 2.443 GB, free: 191.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/4.225, allocations: 15.06 kB / 2.443 GB, free: 191.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005248/4.226, allocations: 197.9 kB / 2.444 GB, free: 191.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007999/4.226, allocations: 232.3 kB / 2.444 GB, free: 191.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/4.227, allocations: 1.878 MB / 2.446 GB, free: 189.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/4.229, allocations: 95.3 kB / 2.446 GB, free: 189.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/4.229, allocations: 83.89 kB / 2.446 GB, free: 189.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/4.229, allocations: 2.344 kB / 2.446 GB, free: 189.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002851/4.232, allocations: 1.085 MB / 2.447 GB, free: 188.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.298e-05/4.232, allocations: 12 kB / 2.447 GB, free: 188.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005045/4.232, allocations: 209.2 kB / 2.447 GB, free: 187.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006944/4.233, allocations: 218.5 kB / 2.447 GB, free: 187.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003867/4.237, allocations: 3.742 MB / 2.451 GB, free: 183.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/4.238, allocations: 90.12 kB / 2.451 GB, free: 183.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/4.238, allocations: 71.97 kB / 2.451 GB, free: 183.5 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumFixDp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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.0003378/4.239, allocations: 146.8 kB / 2.451 GB, free: 183.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003671/4.239, allocations: 161.9 kB / 2.451 GB, free: 183.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002674/4.242, allocations: 1.208 MB / 2.453 GB, free: 182 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/4.242, allocations: 11.98 kB / 2.453 GB, free: 182 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/4.242, allocations: 2.625 kB / 2.453 GB, free: 182 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.455e-06/4.242, allocations: 3.984 kB / 2.453 GB, free: 182 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.004585/4.246, allocations: 2.311 MB / 2.455 GB, free: 179.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/4.247, allocations: 3.938 kB / 2.455 GB, free: 179.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005417/4.247, allocations: 131.2 kB / 2.455 GB, free: 179.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000341/4.247, allocations: 160.9 kB / 2.455 GB, free: 179.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.907e-05/4.247, allocations: 11.98 kB / 2.455 GB, free: 179.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008499/4.248, allocations: 1.778 MB / 2.457 GB, free: 177.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/4.248, allocations: 0 / 2.457 GB, free: 177.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/4.251, allocations: 1.263 MB / 2.458 GB, free: 176.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006985/4.251, allocations: 330.8 kB / 2.458 GB, free: 175.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003515/4.252, allocations: 7.938 kB / 2.458 GB, free: 175.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009846/4.253, allocations: 87.45 kB / 2.459 GB, free: 175.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.135e-05/4.253, allocations: 52.48 kB / 2.459 GB, free: 175.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.255e-05/4.253, allocations: 34.41 kB / 2.459 GB, free: 175.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001301/4.254, allocations: 0.9043 MB / 2.46 GB, free: 174.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.31e-07/4.254, allocations: 0 / 2.46 GB, free: 174.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003498/4.258, allocations: 1.021 MB / 2.461 GB, free: 173.8 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.002412/4.26, allocations: 1.382 MB / 2.462 GB, free: 172.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002371/4.263, allocations: 1.531 MB / 2.463 GB, free: 171.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/4.263, allocations: 0 / 2.463 GB, free: 171.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005722/4.263, allocations: 405.1 kB / 2.464 GB, free: 170.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002839/4.266, allocations: 0.6887 MB / 2.464 GB, free: 170.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/4.27, allocations: 2.088 MB / 2.466 GB, free: 167.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009528/4.271, allocations: 1.427 MB / 2.468 GB, free: 166.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002527/4.273, allocations: 0.5825 MB / 2.468 GB, free: 166 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/4.273, allocations: 103.4 kB / 2.469 GB, free: 165.9 MB / 1.151 GB Notification: Performance of SimCode: time 6.01e-07/4.273, allocations: 0 / 2.469 GB, free: 165.9 MB / 1.151 GB Notification: Performance of Templates: time 0.05515/4.329, allocations: 39.41 MB / 2.507 GB, free: 127.3 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