Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff.m_flow|eff.V_flow|eff.dp|eff.y_in|eff.WFlo|eff.PEle|eff.eta|eff.etaHyd|eff.etaMot",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff.m_flow|eff.V_flow|eff.dp|eff.y_in|eff.WFlo|eff.PEle|eff.eta|eff.etaHyd|eff.etaMot",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") [: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.068/2.068, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001124/0.001124, allocations: 177.3 kB / 487 MB, free: 5.32 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.429/1.429, allocations: 221.3 MB / 0.7819 GB, free: 1.328 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.001027/0.001027, allocations: 105.2 kB / 0.9213 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.053e-06/7.073e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2652, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8322/1.097, allocations: 160.5 MB / 1.362 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/1.098, allocations: 88.78 kB / 1.362 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.03066/1.128, allocations: 10.9 MB / 1.373 GB, free: 5.422 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.651e-05/1.128, allocations: 4 kB / 1.373 GB, free: 5.418 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008323/1.129, allocations: 0.5238 MB / 1.373 GB, free: 4.863 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/1.129, allocations: 12.03 kB / 1.373 GB, free: 4.852 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009136/1.13, allocations: 147 kB / 1.373 GB, free: 4.711 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/1.132, allocations: 0.6742 MB / 1.374 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/1.132, allocations: 4 kB / 1.374 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/1.132, allocations: 8 kB / 1.374 GB, free: 4.117 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002041/1.132, allocations: 125.3 kB / 1.374 GB, free: 4.027 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/1.132, allocations: 134.6 kB / 1.374 GB, free: 3.914 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/1.132, allocations: 4 kB / 1.374 GB, free: 3.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/1.132, allocations: 0 / 1.374 GB, free: 3.91 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/1.132, allocations: 4 kB / 1.374 GB, free: 3.906 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008069/1.133, allocations: 498.6 kB / 1.375 GB, free: 3.453 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/1.133, allocations: 149 kB / 1.375 GB, free: 3.336 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.08e-05/1.133, allocations: 70.95 kB / 1.375 GB, free: 3.281 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/1.133, allocations: 7.609 kB / 1.375 GB, free: 3.277 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/1.133, allocations: 38.5 kB / 1.375 GB, free: 3.23 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/1.133, allocations: 0 / 1.375 GB, free: 3.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0004669/1.134, allocations: 189.3 kB / 1.375 GB, free: 3.07 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.808e-05/1.134, allocations: 55.41 kB / 1.375 GB, free: 3.004 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/1.134, allocations: 264.6 kB / 1.375 GB, free: 2.793 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/1.134, allocations: 33.7 kB / 1.376 GB, free: 2.754 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/1.134, allocations: 122.4 kB / 1.376 GB, free: 2.641 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/1.134, allocations: 26.89 kB / 1.376 GB, free: 2.617 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/1.134, allocations: 0 / 1.376 GB, free: 2.617 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.376e-05/1.134, allocations: 341.5 kB / 1.376 GB, free: 2.285 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.828e-05/1.134, allocations: 68.66 kB / 1.376 GB, free: 2.238 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/1.134, allocations: 150.1 kB / 1.376 GB, free: 2.09 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/1.135, allocations: 85.06 kB / 1.376 GB, free: 2.027 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.135, allocations: 4 kB / 1.376 GB, free: 2.023 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004592/1.135, allocations: 264.5 kB / 1.377 GB, free: 1.805 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001349/1.135, allocations: 0.7007 MB / 1.377 GB, free: 1.066 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.135, allocations: 7.938 kB / 1.377 GB, free: 1.059 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/1.135, allocations: 7.906 kB / 1.377 GB, free: 1.051 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/1.136, allocations: 55.95 kB / 1.377 GB, free: 0.9961 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/1.136, allocations: 0 / 1.377 GB, free: 0.9961 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/1.136, allocations: 39.81 kB / 1.377 GB, free: 0.957 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/1.136, allocations: 15.98 kB / 1.377 GB, free: 0.9414 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.39e-06/1.136, allocations: 4 kB / 1.377 GB, free: 0.9375 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003416/1.136, allocations: 174.1 kB / 1.377 GB, free: 0.8047 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-06/1.136, allocations: 8.031 kB / 1.378 GB, free: 0.7969 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-06/1.136, allocations: 4 kB / 1.378 GB, free: 0.793 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/1.137, allocations: 51.95 kB / 1.378 GB, free: 0.7422 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/1.137, allocations: 3.938 kB / 1.378 GB, free: 0.7383 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/1.137, allocations: 35.83 kB / 1.378 GB, free: 0.7031 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/1.137, allocations: 15.55 kB / 1.378 GB, free: 0.6914 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.735e-05/1.137, allocations: 108.9 kB / 1.378 GB, free: 0.5781 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/1.137, allocations: 23.72 kB / 1.378 GB, free: 0.5547 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003963/1.137, allocations: 190.3 kB / 1.378 GB, free: 400 kB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/1.137, allocations: 4 kB / 1.378 GB, free: 396 kB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/1.137, allocations: 0 / 1.378 GB, free: 396 kB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.137, allocations: 0 / 1.378 GB, free: 396 kB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/1.138, allocations: 250.9 kB / 1.378 GB, free: 144 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.138, allocations: 0 / 1.378 GB, free: 144 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/1.138, allocations: 43.91 kB / 1.378 GB, free: 100 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/1.138, allocations: 0 / 1.378 GB, free: 100 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/1.138, allocations: 0 / 1.378 GB, free: 100 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.138, allocations: 7.938 kB / 1.378 GB, free: 92 kB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.138, allocations: 3.906 kB / 1.378 GB, free: 88 kB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002995/1.138, allocations: 235.3 kB / 1.378 GB, free: 15.86 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.484e-05/1.138, allocations: 120.5 kB / 1.379 GB, free: 15.73 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.422e-05/1.138, allocations: 4 kB / 1.379 GB, free: 15.73 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/1.139, allocations: 23.91 kB / 1.379 GB, free: 15.71 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/1.139, allocations: 4 kB / 1.379 GB, free: 15.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/1.139, allocations: 7.984 kB / 1.379 GB, free: 15.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0001849/1.139, allocations: 210.2 kB / 1.379 GB, free: 15.53 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007521/1.14, allocations: 178.1 kB / 1.379 GB, free: 15.37 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006156/1.14, allocations: 387.2 kB / 1.379 GB, free: 14.99 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004794/1.141, allocations: 266.2 kB / 1.38 GB, free: 14.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.141, allocations: 0 / 1.38 GB, free: 14.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/1.141, allocations: 60.17 kB / 1.38 GB, free: 14.75 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/1.141, allocations: 84.77 kB / 1.38 GB, free: 14.69 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006751/1.142, allocations: 329.3 kB / 1.38 GB, free: 14.38 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005121/1.142, allocations: 0.8134 MB / 1.381 GB, free: 13.55 MB / 0.823 GB Notification: Performance of SimCode: time 4.21e-07/1.142, allocations: 0 / 1.381 GB, free: 13.55 MB / 0.823 GB Notification: Performance of Templates: time 0.01382/1.156, allocations: 7.737 MB / 1.388 GB, free: 5.902 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.csv","../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches