Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [: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 1.933/1.933, 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.001143/0.001143, allocations: 176.5 kB / 487 MB, free: 5.387 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.215/1.215, allocations: 221.3 MB / 0.7819 GB, free: 1.352 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.001074/0.001074, allocations: 86.52 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.735e-06/7.775e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.228, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6775/0.9056, allocations: 150.1 MB / 1.352 GB, free: 16.15 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.9059, allocations: 78.61 kB / 1.352 GB, free: 16.15 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01271/0.9186, allocations: 3.96 MB / 1.356 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.9186, allocations: 0.6875 kB / 1.356 GB, free: 15.91 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003751/0.919, allocations: 377.9 kB / 1.356 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.9191, allocations: 8.656 kB / 1.356 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.9191, allocations: 3.5 kB / 1.356 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.651e-05/0.9192, allocations: 170.4 kB / 1.356 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.9192, allocations: 2.5 kB / 1.356 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.9193, allocations: 8.656 kB / 1.356 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001022/0.9194, allocations: 31.56 kB / 1.356 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.9195, allocations: 57 kB / 1.356 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.9195, allocations: 1.688 kB / 1.356 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.9195, allocations: 9.094 kB / 1.356 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.9195, allocations: 0.9062 kB / 1.356 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004589/0.92, allocations: 300 kB / 1.357 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.852e-05/0.9201, allocations: 37.02 kB / 1.357 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/0.9201, allocations: 21.23 kB / 1.357 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.9202, allocations: 2.031 kB / 1.357 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.9202, allocations: 41 kB / 1.357 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.9202, allocations: 0 / 1.357 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0008113/0.921, allocations: 0.5282 MB / 1.357 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.899e-05/0.921, allocations: 53.86 kB / 1.357 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.576e-05/0.9211, allocations: 94.22 kB / 1.357 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.9211, allocations: 25.7 kB / 1.357 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.247e-05/0.9211, allocations: 91 kB / 1.357 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.9212, allocations: 35.2 kB / 1.358 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.9212, allocations: 0 / 1.358 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.68e-05/0.9212, allocations: 323.3 kB / 1.358 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.808e-05/0.9213, allocations: 19.72 kB / 1.358 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.897e-05/0.9213, allocations: 22.03 kB / 1.358 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.709e-05/0.9214, allocations: 18.3 kB / 1.358 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.9214, allocations: 0 / 1.358 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001431/0.9216, allocations: 95.84 kB / 1.358 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.9216, allocations: 5.062 kB / 1.358 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.9216, allocations: 0 / 1.358 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.9216, allocations: 0.75 kB / 1.358 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.9218, allocations: 32.73 kB / 1.358 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.9218, allocations: 0.9844 kB / 1.358 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.216e-05/0.9219, allocations: 6.641 kB / 1.358 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.9219, allocations: 9.125 kB / 1.358 GB, free: 13.86 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 4.801e-05/0.922, allocations: 105.9 kB / 1.358 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.922, allocations: 3.031 kB / 1.358 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/0.9222, allocations: 117.1 kB / 1.358 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.9222, allocations: 0.9688 kB / 1.358 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.9222, allocations: 1.734 kB / 1.358 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.9222, allocations: 1.031 kB / 1.358 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.9225, allocations: 328.3 kB / 1.359 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.9225, allocations: 1.453 kB / 1.359 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.9227, allocations: 39.22 kB / 1.359 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.9227, allocations: 0.75 kB / 1.359 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.9227, allocations: 2.734 kB / 1.359 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.9228, allocations: 0.8125 kB / 1.359 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.9228, allocations: 0 / 1.359 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002113/0.923, allocations: 208.3 kB / 1.359 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.923, allocations: 86.08 kB / 1.359 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.923, allocations: 2.578 kB / 1.359 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.9232, allocations: 11.22 kB / 1.359 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.9232, allocations: 10.25 kB / 1.359 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.9232, allocations: 2.938 kB / 1.359 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.153e-05/0.9232, allocations: 84.2 kB / 1.359 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002858/0.9235, allocations: 44.02 kB / 1.359 GB, free: 13.09 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002021/0.9237, allocations: 137.8 kB / 1.359 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001424/0.9239, allocations: 60.91 kB / 1.359 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9239, allocations: 4.75 kB / 1.359 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.198e-05/0.924, allocations: 30.95 kB / 1.359 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.9241, allocations: 9.516 kB / 1.359 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/0.9246, allocations: 232.4 kB / 1.359 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.9248, allocations: 0.7118 MB / 1.36 GB, free: 28.11 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/0.9248, allocations: 0 / 1.36 GB, free: 28.11 MB / 0.823 GB Notification: Performance of Templates: time 0.003768/0.9286, allocations: 1.237 MB / 1.361 GB, free: 28.01 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches