Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.001344/0.001344, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001653/0.001653, allocations: 161 kB / 24.16 MB, free: 336 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 1.095/1.095, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.876/1.876, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.76 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895e-05/2.058e-05, allocations: 2.812 kB / 0.76 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002139/0.002159, allocations: 1.313 MB / 0.7613 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008813/0.003041, allocations: 0.5587 MB / 0.7618 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.171e-05/0.003062, allocations: 1.297 kB / 0.7618 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.758e-05/0.00308, allocations: 1.125 kB / 0.7618 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.758e-05/0.003128, allocations: 4.922 kB / 0.7619 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005609/0.003688, allocations: 138.8 kB / 0.762 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.487e-05/0.003743, allocations: 19.7 kB / 0.762 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.003783, allocations: 5.469 kB / 0.762 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.295e-05/0.003816, allocations: 7.828 kB / 0.762 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.64e-05/0.003862, allocations: 4.547 kB / 0.762 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.003876, allocations: 4 kB / 0.762 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003817/0.004258, allocations: 269.1 kB / 0.7623 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.004271, allocations: 0 / 0.7623 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.28e-05/0.004284, allocations: 0 / 0.7623 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.004521, allocations: 155.5 kB / 0.7624 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004523, allocations: 1.219 kB / 0.7624 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.42e-07/0.004524, allocations: 0 / 0.7624 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.985e-06/0.004527, allocations: 0 / 0.7624 GB, free: 4.246 MB / 0.7136 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.000285/0.004812, allocations: 249.8 kB / 0.7627 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.004848, allocations: 8.031 kB / 0.7627 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.004873, allocations: 8.922 kB / 0.7627 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.963e-05/0.004953, allocations: 105.8 kB / 0.7628 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.004962, allocations: 0.9375 kB / 0.7628 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.004972, allocations: 384 / 0.7628 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.195e-05/0.005034, allocations: 34.86 kB / 0.7628 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.00504, allocations: 0.9375 kB / 0.7628 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-06/0.005046, allocations: 384 / 0.7628 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.005051, allocations: 1.312 kB / 0.7628 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.422e-05/0.005066, allocations: 11.92 kB / 0.7628 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.046e-05/0.005156, allocations: 58.3 kB / 0.7629 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.065e-05/0.005197, allocations: 18.61 kB / 0.7629 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.51e-05/0.005212, allocations: 12.84 kB / 0.7629 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.005224, allocations: 4.5 kB / 0.7629 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.005246, allocations: 35.78 kB / 0.763 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.005247, allocations: 0 / 0.763 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 9.885e-05/0.005346, allocations: 33.69 kB / 0.763 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.005382, allocations: 56.44 kB / 0.763 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.759e-05/0.005439, allocations: 95.97 kB / 0.7631 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.005449, allocations: 25.7 kB / 0.7632 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.494e-05/0.005474, allocations: 84.14 kB / 0.7632 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.005498, allocations: 4.297 kB / 0.7632 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.005529, allocations: 18.75 kB / 0.7633 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.295e-05/0.005622, allocations: 322.8 kB / 0.7636 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-06/0.005631, allocations: 7.875 kB / 0.7636 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.666e-06/0.005639, allocations: 4.938 kB / 0.7636 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.389e-05/0.005663, allocations: 11.61 kB / 0.7636 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.005665, allocations: 0 / 0.7636 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.584e-05/0.005721, allocations: 33.69 kB / 0.7636 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.005732, allocations: 8 kB / 0.7636 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.005737, allocations: 0 / 0.7636 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.00575, allocations: 0 / 0.7636 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.005883, allocations: 8 kB / 0.7636 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002802/0.006163, allocations: 0.5846 MB / 0.7642 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.651e-05/0.006179, allocations: 4 kB / 0.7642 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.006184, allocations: 0 / 0.7642 GB, free: 2.254 MB / 0.7136 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 5.923e-05/0.006243, allocations: 109.8 kB / 0.7643 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.463e-06/0.006249, allocations: 1.281 kB / 0.7643 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.176e-05/0.006321, allocations: 41 kB / 0.7644 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.006324, allocations: 3.938 kB / 0.7644 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.006326, allocations: 4.688 kB / 0.7644 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.006328, allocations: 0 / 0.7644 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.473e-05/0.006393, allocations: 70.38 kB / 0.7644 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.006396, allocations: 6.219 kB / 0.7644 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.993e-05/0.006456, allocations: 11.98 kB / 0.7645 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.006459, allocations: 3.984 kB / 0.7645 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-06/0.006462, allocations: 0 / 0.7645 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002185/0.006681, allocations: 0.5821 MB / 0.765 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.006682, allocations: 2.438 kB / 0.765 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.172e-05/0.006734, allocations: 61.06 kB / 0.7651 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-06/0.006742, allocations: 7.875 kB / 0.7651 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-06/0.006751, allocations: 4 kB / 0.7651 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-06/0.006761, allocations: 0 / 0.7651 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.006773, allocations: 3.984 kB / 0.7651 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.006775, allocations: 2.031 kB / 0.7651 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.094e-05/0.006786, allocations: 12.86 kB / 0.7651 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.006786, allocations: 0 / 0.7651 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001739/0.00696, allocations: 4 kB / 0.7651 GB, free: 1.262 MB / 0.7136 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.0001331/0.007093, allocations: 97.36 kB / 0.7652 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001201/0.007213, allocations: 25.72 kB / 0.7652 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.007216, allocations: 0 / 0.7652 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.361e-05/0.007259, allocations: 18.05 kB / 0.7653 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.425e-05/0.007324, allocations: 7.922 kB / 0.7653 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002281/0.007552, allocations: 106.8 kB / 0.7654 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.998e-05/0.007582, allocations: 55.34 kB / 0.7654 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.447e-05/0.007596, allocations: 0.625 kB / 0.7654 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/0.007624, allocations: 51.91 kB / 0.7655 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/0.007624, allocations: 0 / 0.7655 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of Templates: time 0.0021/0.009724, allocations: 0.5368 MB / 0.766 GB, free: 384 kB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.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.063148162327707]