Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001287/0.001287, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001474/0.001474, allocations: 173 kB / 24.28 MB, free: 276 kB / 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.9458/0.9458, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.842/1.842, allocations: 377.8 MB / 0.6239 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0.7656 kB / 0.8115 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.666e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.004472/0.004499, allocations: 1.315 MB / 0.8128 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008641/0.005363, allocations: 0.5557 MB / 0.8134 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.36e-05/0.005387, allocations: 0 / 0.8134 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.005406, allocations: 1.75 kB / 0.8134 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.167e-05/0.005447, allocations: 3.938 kB / 0.8134 GB, free: 216 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.005857, allocations: 140.4 kB / 0.8135 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.579e-05/0.005912, allocations: 15.92 kB / 0.8135 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.005952, allocations: 3.984 kB / 0.8135 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.993e-05/0.005982, allocations: 6.594 kB / 0.8135 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.14e-05/0.006024, allocations: 0 / 0.8135 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.006037, allocations: 0 / 0.8135 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003031/0.00634, allocations: 275.4 kB / 0.8138 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.006353, allocations: 0 / 0.8138 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.746e-05/0.00637, allocations: 0 / 0.8138 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.006574, allocations: 159.4 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.006577, allocations: 0 / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.002e-06/0.006578, allocations: 0.5 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.006582, allocations: 0.7188 kB / 0.8139 GB, free: 15.62 MB / 0.7761 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.0003354/0.006917, allocations: 380 kB / 0.8143 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.006954, allocations: 12.56 kB / 0.8143 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.006991, allocations: 2.594 kB / 0.8143 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.778e-05/0.007079, allocations: 105 kB / 0.8144 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.007089, allocations: 4.375 kB / 0.8144 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.007097, allocations: 384 / 0.8144 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.966e-05/0.007177, allocations: 42.69 kB / 0.8145 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.007183, allocations: 0.7812 kB / 0.8145 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.007191, allocations: 384 / 0.8145 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.007199, allocations: 1.156 kB / 0.8145 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.798e-05/0.007217, allocations: 7.938 kB / 0.8145 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001187/0.007336, allocations: 109.8 kB / 0.8146 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.758e-05/0.007383, allocations: 39.08 kB / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.737e-05/0.007401, allocations: 9.062 kB / 0.8146 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.007419, allocations: 3.938 kB / 0.8146 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.007441, allocations: 37.45 kB / 0.8147 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.007442, allocations: 0.5 kB / 0.8147 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001252/0.007567, allocations: 38.73 kB / 0.8147 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.007596, allocations: 55.34 kB / 0.8147 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.886e-05/0.007665, allocations: 162.8 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.007673, allocations: 25.7 kB / 0.8149 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.007704, allocations: 127.7 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.007729, allocations: 11.89 kB / 0.8151 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.007752, allocations: 21.59 kB / 0.8151 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.007857, allocations: 492.1 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.153e-05/0.007869, allocations: 4 kB / 0.8156 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-06/0.007876, allocations: 7.922 kB / 0.8156 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.507e-05/0.007901, allocations: 15.69 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.007903, allocations: 2.719 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.527e-05/0.007959, allocations: 37.7 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.007972, allocations: 4 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.00798, allocations: 0 / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.007993, allocations: 0 / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.008133, allocations: 11.98 kB / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003428/0.008476, allocations: 0.8986 MB / 0.8165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.529e-05/0.008491, allocations: 0 / 0.8165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.008496, allocations: 0 / 0.8165 GB, free: 12.77 MB / 0.7761 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.403e-05/0.00856, allocations: 161.1 kB / 0.8167 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-06/0.008567, allocations: 9.453 kB / 0.8167 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.024e-05/0.008657, allocations: 41.02 kB / 0.8167 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.008659, allocations: 0 / 0.8167 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.008662, allocations: 0.9375 kB / 0.8167 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.008665, allocations: 7.938 kB / 0.8167 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.257e-05/0.008728, allocations: 112.6 kB / 0.8168 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.008729, allocations: 0.6562 kB / 0.8168 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-05/0.008788, allocations: 15.67 kB / 0.8168 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.008791, allocations: 4 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.008799, allocations: 7.938 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002653/0.009064, allocations: 0.8894 MB / 0.8177 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009065, allocations: 0 / 0.8177 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.669e-05/0.009122, allocations: 84.3 kB / 0.8178 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.884e-06/0.00913, allocations: 4 kB / 0.8178 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-06/0.009139, allocations: 0 / 0.8178 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-06/0.009147, allocations: 1.719 kB / 0.8178 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.299e-05/0.00916, allocations: 3.938 kB / 0.8178 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.009162, allocations: 0 / 0.8178 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.22e-05/0.009194, allocations: 127.2 kB / 0.8179 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009195, allocations: 0.9375 kB / 0.8179 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001332/0.009328, allocations: 11.94 kB / 0.8179 GB, free: 11.21 MB / 0.7761 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.0001422/0.00947, allocations: 104.4 kB / 0.818 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001303/0.0096, allocations: 28.8 kB / 0.8181 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.009602, allocations: 0 / 0.8181 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.807e-05/0.00964, allocations: 24.67 kB / 0.8181 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001077/0.009748, allocations: 11.94 kB / 0.8181 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.01005, allocations: 95.89 kB / 0.8182 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.066e-05/0.01008, allocations: 51.95 kB / 0.8182 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.61e-05/0.0101, allocations: 5.062 kB / 0.8182 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.622e-05/0.01011, allocations: 8.5 kB / 0.8183 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of SimCode: time 6.71e-07/0.01011, allocations: 1.875 kB / 0.8183 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of Templates: time 0.002274/0.01239, allocations: 492.3 kB / 0.8187 GB, free: 10.37 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.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: 5.159217370906845]