Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [: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.906/1.906, 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.001138/0.001137, allocations: 177.2 kB / 487 MB, free: 5.328 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.31/1.31, allocations: 221.3 MB / 0.7819 GB, free: 1.391 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.0009974/0.0009974, allocations: 99.06 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.636e-06/8.646e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2603, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6206/0.881, allocations: 150.2 MB / 1.352 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001667/0.8812, allocations: 78.22 kB / 1.352 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01542/0.8966, allocations: 5.03 MB / 1.357 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.8966, allocations: 0 / 1.357 GB, free: 15.58 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002604/0.8969, allocations: 356.2 kB / 1.357 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.8969, allocations: 9.656 kB / 1.357 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.897, allocations: 8.875 kB / 1.357 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.911e-05/0.8971, allocations: 161.2 kB / 1.357 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.8971, allocations: 6.172 kB / 1.357 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.8971, allocations: 1.844 kB / 1.357 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.611e-05/0.8972, allocations: 13.36 kB / 1.357 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.764e-05/0.8972, allocations: 38.44 kB / 1.357 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.8972, allocations: 0.75 kB / 1.357 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-06/0.8972, allocations: 0 / 1.357 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.8973, allocations: 4.844 kB / 1.357 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002271/0.8975, allocations: 234.5 kB / 1.358 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.8977, allocations: 41.92 kB / 1.358 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.257e-05/0.8977, allocations: 24.53 kB / 1.358 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.8978, allocations: 0.9062 kB / 1.358 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.295e-05/0.8978, allocations: 35.47 kB / 1.358 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.8978, allocations: 0 / 1.358 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001365/0.8979, allocations: 44.55 kB / 1.358 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.708e-05/0.8979, allocations: 56.03 kB / 1.358 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.451e-05/0.898, allocations: 97.64 kB / 1.358 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.643e-06/0.898, allocations: 29.7 kB / 1.358 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.967e-05/0.898, allocations: 84.7 kB / 1.358 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.557e-06/0.898, allocations: 7.812 kB / 1.358 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.8981, allocations: 0 / 1.358 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.339e-05/0.8981, allocations: 320.2 kB / 1.358 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.8981, allocations: 3.938 kB / 1.358 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.21e-05/0.8981, allocations: 19.94 kB / 1.358 GB, free: 14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.243e-05/0.8982, allocations: 9.219 kB / 1.358 GB, free: 14 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8982, allocations: 4.75 kB / 1.358 GB, free: 14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.76e-05/0.8983, allocations: 52.88 kB / 1.358 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.8983, allocations: 4.594 kB / 1.358 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.8983, allocations: 0.7812 kB / 1.358 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.8983, allocations: 5.375 kB / 1.358 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.099e-05/0.8984, allocations: 9.062 kB / 1.358 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.8984, allocations: 0.6562 kB / 1.358 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.514e-05/0.8984, allocations: 5.594 kB / 1.358 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.8984, allocations: 1.188 kB / 1.358 GB, free: 13.95 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 3.759e-05/0.8985, allocations: 106.4 kB / 1.359 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.8985, allocations: 7.125 kB / 1.359 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.8986, allocations: 65.45 kB / 1.359 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.8987, allocations: 1.125 kB / 1.359 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.8987, allocations: 0 / 1.359 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.8987, allocations: 4.031 kB / 1.359 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.835e-05/0.8988, allocations: 133.5 kB / 1.359 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.8988, allocations: 5.406 kB / 1.359 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.714e-05/0.8988, allocations: 9.562 kB / 1.359 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.8988, allocations: 0.6875 kB / 1.359 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.8988, allocations: 6.172 kB / 1.359 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.8988, allocations: 0.6875 kB / 1.359 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.8989, allocations: 0 / 1.359 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.902e-05/0.899, allocations: 141.7 kB / 1.359 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.934e-05/0.899, allocations: 86.42 kB / 1.359 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.899, allocations: 0.7812 kB / 1.359 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.284e-05/0.8991, allocations: 5.125 kB / 1.359 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.8991, allocations: 6.281 kB / 1.359 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.8991, allocations: 1.906 kB / 1.359 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.584e-05/0.8991, allocations: 76.88 kB / 1.359 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002554/0.8994, allocations: 27.98 kB / 1.359 GB, free: 13.3 MB / 0.8073 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 (4): * Single equations (assignments): 4 * 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.0001735/0.8996, allocations: 121.2 kB / 1.359 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.53e-05/0.8996, allocations: 19.11 kB / 1.359 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.8996, allocations: 4.75 kB / 1.359 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.065e-05/0.8997, allocations: 16.12 kB / 1.359 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.8998, allocations: 9.531 kB / 1.359 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001764/0.9, allocations: 58.81 kB / 1.359 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.9001, allocations: 0.6885 MB / 1.36 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of SimCode: time 2.3e-07/0.9001, allocations: 0.875 kB / 1.36 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of Templates: time 0.002236/0.9024, allocations: 0.5522 MB / 1.361 GB, free: 12.36 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches