Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 87.67 kB / 20.99 MB, free: 3.32 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.006406/0.006406, allocations: 151.6 kB / 24.44 MB, free: 9.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9206/0.9206, allocations: 177.2 MB / 204.9 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.279/2.279, allocations: 439.8 MB / 0.6849 GB, free: 12.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8412 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.759e-05, allocations: 2.312 kB / 0.8412 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv): time 0.002992/0.00302, allocations: 1.403 MB / 0.8426 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.00421, allocations: 0.5798 MB / 0.8432 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.259e-05/0.004242, allocations: 4 kB / 0.8432 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.973e-05/0.004262, allocations: 0 / 0.8432 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.442e-05/0.004307, allocations: 0 / 0.8432 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005999/0.004906, allocations: 151.2 kB / 0.8433 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.923e-05/0.004966, allocations: 15.92 kB / 0.8433 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.005008, allocations: 3.938 kB / 0.8433 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.324e-05/0.005052, allocations: 7.984 kB / 0.8433 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.187e-05/0.005104, allocations: 0 / 0.8433 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.005116, allocations: 4 kB / 0.8433 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005498/0.005666, allocations: 327.3 kB / 0.8437 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.005683, allocations: 4 kB / 0.8437 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.771e-05/0.005701, allocations: 4 kB / 0.8437 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.00599, allocations: 147.5 kB / 0.8438 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.005994, allocations: 0 / 0.8438 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.333e-06/0.005995, allocations: 0 / 0.8438 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.005999, allocations: 0 / 0.8438 GB, free: 10.02 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003316/0.006331, allocations: 256.3 kB / 0.844 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.00637, allocations: 8.031 kB / 0.8441 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.006398, allocations: 8.875 kB / 0.8441 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.848e-05/0.006496, allocations: 109.7 kB / 0.8442 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.006508, allocations: 384 / 0.8442 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.006519, allocations: 8.375 kB / 0.8442 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.972e-05/0.006588, allocations: 26.27 kB / 0.8442 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.006597, allocations: 4.125 kB / 0.8442 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.006609, allocations: 8.359 kB / 0.8442 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.006617, allocations: 384 / 0.8442 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.34e-05/0.006631, allocations: 3.938 kB / 0.8442 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001054/0.006736, allocations: 61.05 kB / 0.8443 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.515e-05/0.006791, allocations: 22.61 kB / 0.8443 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.00681, allocations: 8.922 kB / 0.8443 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.006836, allocations: 4 kB / 0.8443 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.006866, allocations: 30.56 kB / 0.8443 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.006867, allocations: 0 / 0.8443 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001169/0.006984, allocations: 41.62 kB / 0.8444 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.007021, allocations: 51.41 kB / 0.8444 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.00718, allocations: 98.72 kB / 0.8445 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.007191, allocations: 25.7 kB / 0.8445 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.325e-05/0.007215, allocations: 80.14 kB / 0.8446 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.00724, allocations: 3.953 kB / 0.8446 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.007272, allocations: 25.94 kB / 0.8447 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.001e-05/0.007362, allocations: 318.8 kB / 0.845 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.017e-05/0.007372, allocations: 4 kB / 0.845 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-06/0.007379, allocations: 0 / 0.845 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.819e-05/0.007407, allocations: 12.8 kB / 0.845 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.007409, allocations: 0 / 0.845 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.057e-05/0.00747, allocations: 37.69 kB / 0.845 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.007482, allocations: 4 kB / 0.845 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.007488, allocations: 0 / 0.845 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.007498, allocations: 4 kB / 0.845 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.007635, allocations: 12.08 kB / 0.845 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003185/0.007953, allocations: 0.582 MB / 0.8456 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.024e-05/0.007974, allocations: 4 kB / 0.8456 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.007978, allocations: 0 / 0.8456 GB, free: 8.004 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.408e-05/0.008042, allocations: 113.8 kB / 0.8457 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-06/0.00805, allocations: 3.938 kB / 0.8457 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.695e-05/0.008137, allocations: 37 kB / 0.8457 GB, free: 7.836 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.00814, allocations: 12.03 kB / 0.8458 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.008142, allocations: 0 / 0.8458 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.008144, allocations: 0 / 0.8458 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.703e-05/0.008211, allocations: 69.86 kB / 0.8458 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.008214, allocations: 3.984 kB / 0.8458 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.162e-05/0.008285, allocations: 4 kB / 0.8458 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.008292, allocations: 4 kB / 0.8458 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.008298, allocations: 3.984 kB / 0.8458 GB, free: 7.723 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002428/0.008541, allocations: 0.5781 MB / 0.8464 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.008542, allocations: 4 kB / 0.8464 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.738e-05/0.008599, allocations: 61.19 kB / 0.8465 GB, free: 7.039 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.008611, allocations: 7.922 kB / 0.8465 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-06/0.008621, allocations: 3.984 kB / 0.8465 GB, free: 7.027 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.162e-05/0.008632, allocations: 7.938 kB / 0.8465 GB, free: 7.02 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.008648, allocations: 4 kB / 0.8465 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.008653, allocations: 4 kB / 0.8465 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.068e-05/0.008663, allocations: 4.859 kB / 0.8465 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.008663, allocations: 0 / 0.8465 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002171/0.00888, allocations: 23.88 kB / 0.8465 GB, free: 6.98 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001903/0.009071, allocations: 108.5 kB / 0.8466 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.6e-05/0.009167, allocations: 12.86 kB / 0.8466 GB, free: 6.852 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.009171, allocations: 4 kB / 0.8466 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.774e-05/0.009208, allocations: 12.84 kB / 0.8467 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.334e-05/0.009282, allocations: 6.484 kB / 0.8467 GB, free: 6.828 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.009569, allocations: 120.7 kB / 0.8468 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.81e-05/0.009607, allocations: 55.36 kB / 0.8468 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.547e-05/0.009633, allocations: 0 / 0.8468 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.009673, allocations: 51.38 kB / 0.8469 GB, free: 6.559 MB / 0.8073 GB Notification: Performance of SimCode: time 5.81e-07/0.009674, allocations: 0 / 0.8469 GB, free: 6.559 MB / 0.8073 GB Notification: Performance of Templates: time 0.002684/0.01236, allocations: 0.6073 MB / 0.8475 GB, free: 5.988 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_inv.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.948513275012374]