Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.189/1.189, allocations: 249.4 MB / 256.7 MB, free: 7.051 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008982/0.0008982, allocations: 184.9 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.081/1.081, allocations: 205.2 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008224/0.0008225, allocations: 86.84 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.953e-06/6.963e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1525, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9634/1.116, allocations: 431.7 MB / 1.306 GB, free: 286 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/1.116, allocations: 93.23 kB / 1.306 GB, free: 286 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.976/3.092, allocations: 0.7437 GB / 2.05 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003089/3.093, allocations: 55.34 kB / 2.05 GB, free: 126.2 MB / 0.8698 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.004557/3.097, allocations: 1.987 MB / 2.052 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/3.097, allocations: 7.625 kB / 2.052 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00293/3.1, allocations: 0.5891 MB / 2.053 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02846/3.129, allocations: 13.79 MB / 2.066 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.808e-05/3.129, allocations: 39.41 kB / 2.066 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/3.129, allocations: 69.34 kB / 2.066 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001442/3.13, allocations: 0.8735 MB / 2.067 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/3.132, allocations: 1.072 MB / 2.068 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/3.132, allocations: 3.875 kB / 2.068 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.934e-05/3.132, allocations: 0 / 2.068 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/3.132, allocations: 24.22 kB / 2.068 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006879/3.139, allocations: 5.676 MB / 2.074 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009306/3.14, allocations: 0.7065 MB / 2.074 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004033/3.14, allocations: 359.1 kB / 2.075 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003191/3.144, allocations: 2.721 MB / 2.077 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/3.144, allocations: 41.06 kB / 2.077 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=59): time 1.894e-06/3.144, allocations: 0 / 2.077 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59): time 0.002437/3.146, allocations: 1.008 MB / 2.078 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/3.146, allocations: 59.56 kB / 2.078 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/3.147, allocations: 1.2 MB / 2.08 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.453e-05/3.147, allocations: 25.7 kB / 2.08 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002601/3.148, allocations: 0.556 MB / 2.08 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/3.148, allocations: 203.9 kB / 2.08 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/3.148, allocations: 2.75 kB / 2.08 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.992e-05/3.148, allocations: 343.6 kB / 2.081 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003895/3.148, allocations: 311.4 kB / 2.081 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005576/3.149, allocations: 0.7376 MB / 2.082 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/3.15, allocations: 0.5304 MB / 2.082 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/3.151, allocations: 0 / 2.082 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003101/3.154, allocations: 1.369 MB / 2.083 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006901/3.154, allocations: 4.327 MB / 2.088 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/3.154, allocations: 11.78 kB / 2.088 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000556/3.155, allocations: 202 kB / 2.088 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007517/3.156, allocations: 211.9 kB / 2.088 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/3.157, allocations: 1.896 MB / 2.09 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/3.158, allocations: 143.5 kB / 2.09 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/3.158, allocations: 77.5 kB / 2.09 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/3.158, allocations: 6.156 kB / 2.09 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002851/3.161, allocations: 1.1 MB / 2.091 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/3.161, allocations: 13.12 kB / 2.091 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005061/3.162, allocations: 205.1 kB / 2.091 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006473/3.162, allocations: 203.2 kB / 2.092 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003973/3.166, allocations: 3.725 MB / 2.095 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009492/3.167, allocations: 112.8 kB / 2.095 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.754e-05/3.167, allocations: 68.94 kB / 2.095 GB, free: 108.7 MB / 0.8698 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.00025/3.167, allocations: 145.3 kB / 2.096 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/3.168, allocations: 160.3 kB / 2.096 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002794/3.17, allocations: 1.311 MB / 2.097 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/3.17, allocations: 18.16 kB / 2.097 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/3.171, allocations: 0 / 2.097 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/3.171, allocations: 3.938 kB / 2.097 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00439/3.175, allocations: 2.294 MB / 2.099 GB, free: 108 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/3.175, allocations: 0 / 2.099 GB, free: 108 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005329/3.175, allocations: 118.7 kB / 2.099 GB, free: 108 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004288/3.176, allocations: 173.1 kB / 2.1 GB, free: 108 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/3.176, allocations: 18.95 kB / 2.1 GB, free: 108 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/3.177, allocations: 1.821 MB / 2.101 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/3.177, allocations: 3.094 kB / 2.101 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002356/3.179, allocations: 1.282 MB / 2.103 GB, free: 106 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005947/3.18, allocations: 333.8 kB / 2.103 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/3.18, allocations: 7.062 kB / 2.103 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007716/3.181, allocations: 70.47 kB / 2.103 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/3.181, allocations: 43.78 kB / 2.103 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.206e-05/3.181, allocations: 36.16 kB / 2.103 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001115/3.182, allocations: 0.9018 MB / 2.104 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002773/3.185, allocations: 0.9973 MB / 2.105 GB, free: 105.5 MB / 0.8698 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 (63): * Single equations (assignments): 52 * 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.001764/3.187, allocations: 1.355 MB / 2.106 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002163/3.189, allocations: 1.539 MB / 2.108 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/3.189, allocations: 0.875 kB / 2.108 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006487/3.19, allocations: 417.9 kB / 2.108 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/3.192, allocations: 0.6567 MB / 2.109 GB, free: 105 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003401/3.195, allocations: 2.159 MB / 2.111 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/3.197, allocations: 1.566 MB / 2.112 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of SimCode: time 4e-07/3.197, allocations: 0 / 2.112 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.07521/3.272, allocations: 41.71 MB / 2.153 GB, free: 94.07 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches