Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.234/2.234, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001029/0.001029, allocations: 188.8 kB / 487.4 MB, free: 5.062 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.398/1.398, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 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.0009265/0.0009264, allocations: 95.84 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.02e-05/2.038e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2791, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8941/1.173, allocations: 149 MB / 1.351 GB, free: 18.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/1.174, allocations: 78.38 kB / 1.352 GB, free: 18.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007153/1.181, allocations: 2.297 MB / 1.354 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.733e-06/1.181, allocations: 0 / 1.354 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.17e-05/1.181, allocations: 0 / 1.354 GB, free: 33.88 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.00026/1.181, allocations: 330.1 kB / 1.354 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/1.181, allocations: 12.28 kB / 1.354 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.633e-05/1.181, allocations: 7.781 kB / 1.354 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.441e-05/1.181, allocations: 164.3 kB / 1.354 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/1.181, allocations: 0 / 1.354 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/1.181, allocations: 3.938 kB / 1.354 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.863e-05/1.181, allocations: 3.844 kB / 1.354 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.842e-05/1.181, allocations: 34.69 kB / 1.354 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/1.181, allocations: 0.7031 kB / 1.354 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/1.181, allocations: 0 / 1.354 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/1.181, allocations: 4 kB / 1.354 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001174/1.182, allocations: 137.8 kB / 1.354 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.586e-05/1.182, allocations: 24.8 kB / 1.354 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/1.182, allocations: 7.516 kB / 1.354 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/1.182, allocations: 0 / 1.354 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/1.182, allocations: 32.62 kB / 1.354 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/1.182, allocations: 4 kB / 1.354 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001193/1.182, allocations: 41.86 kB / 1.355 GB, free: 33 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.784e-05/1.182, allocations: 52.72 kB / 1.355 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.257e-05/1.182, allocations: 88.84 kB / 1.355 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/1.182, allocations: 25.7 kB / 1.355 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/1.182, allocations: 80.14 kB / 1.355 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/1.182, allocations: 5.984 kB / 1.355 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-06/1.182, allocations: 0 / 1.355 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001019/1.182, allocations: 320.8 kB / 1.355 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.007e-05/1.182, allocations: 1.312 kB / 1.355 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.806e-06/1.182, allocations: 2.594 kB / 1.355 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.468e-05/1.182, allocations: 6.422 kB / 1.355 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/1.182, allocations: 1.281 kB / 1.355 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.599e-05/1.182, allocations: 39.19 kB / 1.355 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/1.182, allocations: 5.219 kB / 1.355 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/1.182, allocations: 0 / 1.355 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/1.182, allocations: 96 / 1.355 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/1.182, allocations: 16.88 kB / 1.355 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003669/1.183, allocations: 0.5864 MB / 1.356 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.756e-05/1.183, allocations: 0 / 1.356 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/1.183, allocations: 4.641 kB / 1.356 GB, free: 31.79 MB / 0.8386 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.496e-05/1.183, allocations: 113.8 kB / 1.356 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-06/1.183, allocations: 96 / 1.356 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/1.183, allocations: 48.64 kB / 1.356 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/1.183, allocations: 0 / 1.356 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.183, allocations: 0 / 1.356 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.183, allocations: 8.578 kB / 1.356 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.807e-05/1.183, allocations: 129.4 kB / 1.356 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/1.183, allocations: 0 / 1.356 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.287e-05/1.183, allocations: 10.22 kB / 1.356 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/1.183, allocations: 0 / 1.356 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/1.183, allocations: 3.844 kB / 1.356 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002626/1.183, allocations: 0.5897 MB / 1.357 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.184, allocations: 0 / 1.357 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.268e-05/1.184, allocations: 67.28 kB / 1.357 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.768e-05/1.184, allocations: 77.86 kB / 1.357 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/1.184, allocations: 0.875 kB / 1.357 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.306e-05/1.184, allocations: 4 kB / 1.357 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.078e-05/1.184, allocations: 0.75 kB / 1.357 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/1.184, allocations: 4.672 kB / 1.357 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.995e-05/1.184, allocations: 79.09 kB / 1.357 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.2e-07/1.184, allocations: 0 / 1.357 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001918/1.184, allocations: 15.78 kB / 1.357 GB, free: 30.62 MB / 0.8386 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001486/1.184, allocations: 113.8 kB / 1.357 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001305/1.184, allocations: 22.08 kB / 1.357 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.184, allocations: 0 / 1.357 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.987e-05/1.184, allocations: 9.953 kB / 1.357 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001008/1.184, allocations: 4.75 kB / 1.357 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001367/1.185, allocations: 53.53 kB / 1.357 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/1.185, allocations: 0.6799 MB / 1.358 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.767e-05/1.185, allocations: 8.75 kB / 1.358 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.879e-06/1.185, allocations: 7.438 kB / 1.358 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of SimCode: time 2.11e-07/1.185, allocations: 0 / 1.358 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of Templates: time 0.002163/1.187, allocations: 411.8 kB / 1.358 GB, free: 29.69 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches