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") [: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 9.1.1-maint.9.1.x/package.mo): time 2.133/2.133, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001149/0.001149, allocations: 177.3 kB / 487 MB, free: 5.355 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.498/1.498, allocations: 221.3 MB / 0.7819 GB, free: 1.344 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.001092/0.001092, allocations: 93.31 kB / 0.9213 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.019e-05/1.021e-05, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3004, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.174/1.474, allocations: 436.7 MB / 1.632 GB, free: 2.969 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/1.475, allocations: 92.44 kB / 1.632 GB, free: 2.922 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.802/4.277, allocations: 0.7762 GB / 2.408 GB, free: 171 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0002218/4.277, allocations: 53.86 kB / 2.408 GB, free: 170.9 MB / 1.135 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.004712/4.282, allocations: 1.981 MB / 2.41 GB, free: 168.9 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/4.282, allocations: 18.89 kB / 2.41 GB, free: 168.9 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004833/4.287, allocations: 0.7814 MB / 2.411 GB, free: 168.2 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03591/4.323, allocations: 14.48 MB / 2.425 GB, free: 153.9 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/4.323, allocations: 36 kB / 2.425 GB, free: 153.9 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005635/4.324, allocations: 68 kB / 2.425 GB, free: 153.8 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002148/4.326, allocations: 0.8983 MB / 2.426 GB, free: 152.9 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/4.328, allocations: 1.09 MB / 2.427 GB, free: 151.8 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/4.328, allocations: 0 / 2.427 GB, free: 151.8 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.935e-05/4.328, allocations: 7.531 kB / 2.427 GB, free: 151.8 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/4.328, allocations: 27.91 kB / 2.427 GB, free: 151.7 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008485/4.336, allocations: 5.8 MB / 2.433 GB, free: 145.7 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/4.337, allocations: 0.7171 MB / 2.433 GB, free: 145 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004395/4.338, allocations: 377.9 kB / 2.434 GB, free: 144.6 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004043/4.342, allocations: 2.818 MB / 2.436 GB, free: 141.5 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/4.342, allocations: 45.86 kB / 2.436 GB, free: 141.5 MB / 1.135 GB Notification: Performance of pre-optimization done (n=59): time 2.785e-06/4.342, allocations: 0 / 2.436 GB, free: 141.5 MB / 1.135 GB Notification: Performance of matching and sorting (n=59): time 0.002765/4.345, allocations: 1.02 MB / 2.437 GB, free: 140.4 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/4.345, allocations: 59.09 kB / 2.438 GB, free: 140.4 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/4.346, allocations: 1.219 MB / 2.439 GB, free: 139.2 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 8.494e-05/4.347, allocations: 29.7 kB / 2.439 GB, free: 139.1 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/4.347, allocations: 0.545 MB / 2.439 GB, free: 138.6 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.000178/4.347, allocations: 201 kB / 2.439 GB, free: 138.4 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/4.347, allocations: 0 / 2.439 GB, free: 138.4 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 7.231e-05/4.347, allocations: 339.1 kB / 2.44 GB, free: 138 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/4.348, allocations: 325.2 kB / 2.44 GB, free: 137.7 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006298/4.348, allocations: 0.744 MB / 2.441 GB, free: 136.8 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/4.35, allocations: 0.5409 MB / 2.441 GB, free: 136.3 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/4.35, allocations: 4 kB / 2.441 GB, free: 136.3 MB / 1.135 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003479/4.353, allocations: 1.386 MB / 2.443 GB, free: 134.9 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008164/4.354, allocations: 4.323 MB / 2.447 GB, free: 130.2 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/4.354, allocations: 12 kB / 2.447 GB, free: 130.2 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005969/4.355, allocations: 209.4 kB / 2.447 GB, free: 130 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008881/4.356, allocations: 234.8 kB / 2.447 GB, free: 129.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/4.357, allocations: 1.898 MB / 2.449 GB, free: 127.8 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/4.359, allocations: 145.8 kB / 2.449 GB, free: 127.7 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/4.359, allocations: 80.02 kB / 2.449 GB, free: 127.6 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/4.359, allocations: 4 kB / 2.449 GB, free: 127.6 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003106/4.362, allocations: 1.116 MB / 2.451 GB, free: 126.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/4.362, allocations: 8 kB / 2.451 GB, free: 126.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005711/4.362, allocations: 212.7 kB / 2.451 GB, free: 126.2 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007866/4.363, allocations: 226.7 kB / 2.451 GB, free: 126 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00433/4.368, allocations: 3.699 MB / 2.455 GB, free: 122.2 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/4.369, allocations: 126.1 kB / 2.455 GB, free: 122 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/4.37, allocations: 71.09 kB / 2.455 GB, free: 122 MB / 1.135 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.0004207/4.37, allocations: 144.6 kB / 2.455 GB, free: 121.8 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002616/4.37, allocations: 165.8 kB / 2.455 GB, free: 121.7 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003146/4.373, allocations: 1.347 MB / 2.456 GB, free: 120.3 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/4.373, allocations: 8 kB / 2.456 GB, free: 120.3 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/4.373, allocations: 0 / 2.456 GB, free: 120.3 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/4.373, allocations: 7.859 kB / 2.456 GB, free: 120.3 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004688/4.378, allocations: 2.341 MB / 2.459 GB, free: 117.9 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/4.378, allocations: 0 / 2.459 GB, free: 117.9 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006546/4.379, allocations: 135.1 kB / 2.459 GB, free: 117.8 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000425/4.379, allocations: 169.6 kB / 2.459 GB, free: 117.6 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.727e-05/4.379, allocations: 15.98 kB / 2.459 GB, free: 117.6 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/4.38, allocations: 1.828 MB / 2.461 GB, free: 115.7 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/4.38, allocations: 0 / 2.461 GB, free: 115.7 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002741/4.383, allocations: 1.3 MB / 2.462 GB, free: 114.4 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007673/4.384, allocations: 342.2 kB / 2.462 GB, free: 114 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/4.384, allocations: 7.938 kB / 2.462 GB, free: 114 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009073/4.385, allocations: 83.05 kB / 2.462 GB, free: 113.9 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/4.385, allocations: 52.58 kB / 2.462 GB, free: 113.9 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.032e-05/4.385, allocations: 35.97 kB / 2.463 GB, free: 113.9 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.001348/4.387, allocations: 0.9082 MB / 2.463 GB, free: 113 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.003607/4.39, allocations: 1.021 MB / 2.464 GB, free: 111.9 MB / 1.135 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.002436/4.393, allocations: 1.381 MB / 2.466 GB, free: 110.8 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.002899/4.396, allocations: 1.567 MB / 2.467 GB, free: 109.2 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/4.396, allocations: 0 / 2.467 GB, free: 109.2 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0006569/4.396, allocations: 427.8 kB / 2.468 GB, free: 108.8 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003321/4.4, allocations: 0.6474 MB / 2.468 GB, free: 108.1 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004678/4.404, allocations: 2.185 MB / 2.47 GB, free: 105.9 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/4.405, allocations: 1.57 MB / 2.472 GB, free: 104.3 MB / 1.135 GB Notification: Performance of SimCode: time 1.262e-06/4.405, allocations: 0 / 2.472 GB, free: 104.3 MB / 1.135 GB Notification: Performance of Templates: time 0.06801/4.473, allocations: 42.66 MB / 2.514 GB, free: 62.23 MB / 1.135 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