Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.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.PumpCurveDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ddp_dNrpm.y|ddp_dm_flow.y|dm_flow_dNrpm.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ddp_dNrpm.y|ddp_dm_flow.y|dm_flow_dNrpm.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives") [: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.117/2.117, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001809/0.001808, allocations: 180.6 kB / 487 MB, free: 5.371 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.596/1.596, allocations: 221.3 MB / 0.7819 GB, free: 1.441 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.00119/0.00119, allocations: 93.36 kB / 0.9213 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.254e-06/7.274e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3183, allocations: 142.3 MB / 1.205 GB, free: 26.28 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.089/1.408, allocations: 402.9 MB / 1.599 GB, free: 3.523 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/1.408, allocations: 91.62 kB / 1.599 GB, free: 3.477 MB / 1.026 GB Notification: Performance of FrontEnd: time 3.074/4.482, allocations: 0.9432 GB / 2.542 GB, free: 23.72 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0004455/4.482, allocations: 83.92 kB / 2.542 GB, free: 23.64 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.008182/4.49, allocations: 3.191 MB / 2.545 GB, free: 20.39 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/4.491, allocations: 8.031 kB / 2.545 GB, free: 20.38 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007338/4.498, allocations: 1.252 MB / 2.546 GB, free: 19.12 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04597/4.544, allocations: 20.23 MB / 2.566 GB, free: 14.67 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/4.544, allocations: 55.91 kB / 2.566 GB, free: 14.62 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004883/4.545, allocations: 108 kB / 2.566 GB, free: 14.51 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003254/4.548, allocations: 1.677 MB / 2.568 GB, free: 12.83 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002979/4.551, allocations: 1.881 MB / 2.57 GB, free: 10.85 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.722e-05/4.551, allocations: 7.922 kB / 2.57 GB, free: 10.84 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/4.551, allocations: 4 kB / 2.57 GB, free: 10.84 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.412e-05/4.551, allocations: 40 kB / 2.57 GB, free: 10.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01833/4.569, allocations: 10.33 MB / 2.58 GB, free: 28 kB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/4.572, allocations: 1.659 MB / 2.582 GB, free: 14.36 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/4.573, allocations: 0.756 MB / 2.582 GB, free: 13.61 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006963/4.58, allocations: 4.045 MB / 2.586 GB, free: 9.285 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/4.58, allocations: 39.34 kB / 2.586 GB, free: 9.238 MB / 1.167 GB Notification: Performance of pre-optimization done (n=84): time 2.865e-06/4.58, allocations: 4 kB / 2.586 GB, free: 9.234 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.007133/4.587, allocations: 2.293 MB / 2.589 GB, free: 6.914 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/4.587, allocations: 60.19 kB / 2.589 GB, free: 6.844 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009533/4.597, allocations: 3.535 MB / 2.592 GB, free: 3.332 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000807/4.598, allocations: 29.7 kB / 2.592 GB, free: 3.297 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001201/4.599, allocations: 0.8849 MB / 2.593 GB, free: 2.395 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006882/4.599, allocations: 287.7 kB / 2.593 GB, free: 2.109 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.623e-05/4.6, allocations: 0 / 2.593 GB, free: 2.109 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001888/4.6, allocations: 369.9 kB / 2.594 GB, free: 1.742 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/4.601, allocations: 0.7926 MB / 2.594 GB, free: 0.9492 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5854/5.186, allocations: 1.546 MB / 2.596 GB, free: 277.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003341/5.19, allocations: 1.136 MB / 2.597 GB, free: 277.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/5.19, allocations: 3.812 kB / 2.597 GB, free: 277.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006727/5.197, allocations: 2.907 MB / 2.6 GB, free: 277.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001643/5.198, allocations: 9.351 MB / 2.609 GB, free: 267.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.322e-05/5.198, allocations: 23.38 kB / 2.609 GB, free: 267.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/5.2, allocations: 460.1 kB / 2.609 GB, free: 267.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/5.201, allocations: 406.7 kB / 2.61 GB, free: 267.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/5.203, allocations: 2.436 MB / 2.612 GB, free: 265.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003294/5.207, allocations: 285 kB / 2.612 GB, free: 265.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003062/5.207, allocations: 155.2 kB / 2.613 GB, free: 265.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/5.207, allocations: 3.812 kB / 2.613 GB, free: 265.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00528/5.212, allocations: 2.26 MB / 2.615 GB, free: 265.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.892e-05/5.212, allocations: 25.47 kB / 2.615 GB, free: 265.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/5.214, allocations: 0.4977 MB / 2.615 GB, free: 265.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/5.215, allocations: 384.4 kB / 2.616 GB, free: 265.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007003/5.222, allocations: 5.239 MB / 2.621 GB, free: 263.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003229/5.225, allocations: 236.4 kB / 2.621 GB, free: 263.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000312/5.226, allocations: 132.9 kB / 2.621 GB, free: 263.2 MB / 1.167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump1.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: 95 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 161 * Array equations: 3 * 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 {2 9,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005913/5.226, allocations: 175 kB / 2.621 GB, free: 263.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006206/5.227, allocations: 316.4 kB / 2.622 GB, free: 263 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006004/5.233, allocations: 2.315 MB / 2.624 GB, free: 262.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/5.233, allocations: 21.53 kB / 2.624 GB, free: 262.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/5.233, allocations: 0 / 2.624 GB, free: 262.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/5.233, allocations: 6.75 kB / 2.624 GB, free: 262.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008442/5.242, allocations: 4.48 MB / 2.628 GB, free: 262.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/5.242, allocations: 2.25 kB / 2.628 GB, free: 262.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/5.243, allocations: 221.9 kB / 2.628 GB, free: 262.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006799/5.243, allocations: 312.8 kB / 2.629 GB, free: 262.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.096e-05/5.244, allocations: 26.88 kB / 2.629 GB, free: 262.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/5.245, allocations: 2.125 MB / 2.631 GB, free: 260.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/5.245, allocations: 1.688 kB / 2.631 GB, free: 260.8 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005725/5.251, allocations: 2.929 MB / 2.634 GB, free: 260.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002242/5.253, allocations: 0.71 MB / 2.634 GB, free: 260 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001213/5.254, allocations: 10.75 kB / 2.634 GB, free: 260 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002638/5.257, allocations: 158.8 kB / 2.635 GB, free: 260 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/5.257, allocations: 63.12 kB / 2.635 GB, free: 260 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/5.257, allocations: 61.61 kB / 2.635 GB, free: 260 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.004405/5.262, allocations: 2.644 MB / 2.637 GB, free: 259.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006654/5.268, allocations: 1.63 MB / 2.639 GB, free: 259.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (ddp_dm_flow.x,ddp_dNrpm.x,dm_flow_dNrpm.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 74 * 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 {2 9,1 4,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002982/5.271, allocations: 1.693 MB / 2.641 GB, free: 259.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004985/5.276, allocations: 3.061 MB / 2.644 GB, free: 259.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/5.276, allocations: 0 / 2.644 GB, free: 259.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/5.277, allocations: 0.6684 MB / 2.644 GB, free: 259.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006962/5.284, allocations: 1.442 MB / 2.646 GB, free: 259.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/5.295, allocations: 4.427 MB / 2.65 GB, free: 258.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002654/5.297, allocations: 2.501 MB / 2.652 GB, free: 257.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.332e-06/5.297, allocations: 0 / 2.652 GB, free: 257.5 MB / 1.167 GB Notification: Performance of Templates: time 0.1374/5.435, allocations: 85.71 MB / 2.736 GB, free: 255.1 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.csv","../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches