Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001064/0.001064, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001709/0.001709, allocations: 173 kB / 23.02 MB, free: 1.547 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 1.005/1.005, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.038/2.038, allocations: 429.5 MB / 0.6732 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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,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") 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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.872e-05, allocations: 9.062 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.0018/0.001828, allocations: 1.334 MB / 0.8795 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007174/0.002546, allocations: 0.5572 MB / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.257e-05/0.002568, allocations: 0 / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.845e-05/0.002587, allocations: 5.031 kB / 0.88 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.272e-05/0.00263, allocations: 0 / 0.88 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004564/0.003086, allocations: 145.5 kB / 0.8802 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.869e-05/0.003135, allocations: 7.938 kB / 0.8802 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.00317, allocations: 4 kB / 0.8802 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.03e-05/0.0032, allocations: 15.92 kB / 0.8802 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.613e-05/0.003236, allocations: 0.9062 kB / 0.8802 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.003249, allocations: 0 / 0.8802 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003025/0.003551, allocations: 275.4 kB / 0.8805 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.003565, allocations: 5.078 kB / 0.8805 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.744e-05/0.003582, allocations: 0 / 0.8805 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.003777, allocations: 147.5 kB / 0.8806 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.00378, allocations: 0.5625 kB / 0.8806 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.51e-07/0.00378, allocations: 0.6562 kB / 0.8806 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.003786, allocations: 3.984 kB / 0.8806 GB, free: 3.832 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.0002977/0.004084, allocations: 377.9 kB / 0.881 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.00412, allocations: 12.03 kB / 0.881 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.004152, allocations: 0.9375 kB / 0.881 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.164e-05/0.004224, allocations: 107.9 kB / 0.8811 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.004234, allocations: 4.375 kB / 0.8811 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-06/0.004241, allocations: 384 / 0.8811 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.842e-05/0.004309, allocations: 34.25 kB / 0.8811 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.541e-06/0.004315, allocations: 4.125 kB / 0.8811 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.004323, allocations: 384 / 0.8811 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.00433, allocations: 384 / 0.8811 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.007e-05/0.00435, allocations: 3.938 kB / 0.8811 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.004484, allocations: 112.6 kB / 0.8812 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.914e-05/0.004543, allocations: 28.34 kB / 0.8813 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.004564, allocations: 15.73 kB / 0.8813 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.004583, allocations: 5.562 kB / 0.8813 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.004609, allocations: 41.39 kB / 0.8813 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.00461, allocations: 0 / 0.8813 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001365/0.004747, allocations: 38.73 kB / 0.8814 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.004777, allocations: 51.41 kB / 0.8814 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.53e-05/0.004842, allocations: 166.1 kB / 0.8816 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.004852, allocations: 29.73 kB / 0.8816 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.637e-05/0.004879, allocations: 126.9 kB / 0.8817 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.0049, allocations: 7.891 kB / 0.8817 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/0.004924, allocations: 19.38 kB / 0.8818 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.005029, allocations: 0.4883 MB / 0.8822 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.072e-05/0.00504, allocations: 4 kB / 0.8822 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-06/0.005047, allocations: 0 / 0.8822 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.671e-05/0.005073, allocations: 19.61 kB / 0.8823 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.005075, allocations: 0 / 0.8823 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.167e-05/0.005127, allocations: 41.77 kB / 0.8823 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.005141, allocations: 10.81 kB / 0.8823 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.005145, allocations: 0 / 0.8823 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.005154, allocations: 0 / 0.8823 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.005281, allocations: 11.98 kB / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003354/0.005616, allocations: 0.901 MB / 0.8832 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.786e-05/0.005634, allocations: 0 / 0.8832 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.005639, allocations: 0 / 0.8832 GB, free: 0.9688 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 () * 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.422e-05/0.005703, allocations: 156.6 kB / 0.8833 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-06/0.005709, allocations: 8.031 kB / 0.8834 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.871e-05/0.005797, allocations: 45 kB / 0.8834 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.005799, allocations: 0 / 0.8834 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.005803, allocations: 4 kB / 0.8834 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.005805, allocations: 0 / 0.8834 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.204e-05/0.005867, allocations: 116.6 kB / 0.8835 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.00587, allocations: 3.984 kB / 0.8835 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.005927, allocations: 8 kB / 0.8835 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.00593, allocations: 0 / 0.8835 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-06/0.005935, allocations: 7.875 kB / 0.8835 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002683/0.006203, allocations: 0.9011 MB / 0.8844 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006204, allocations: 0 / 0.8844 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.363e-05/0.006258, allocations: 72.39 kB / 0.8845 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.989e-06/0.006268, allocations: 11.94 kB / 0.8845 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.894e-06/0.006276, allocations: 3.938 kB / 0.8845 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-06/0.006284, allocations: 0 / 0.8845 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.212e-05/0.006296, allocations: 0 / 0.8845 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.006299, allocations: 0 / 0.8845 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.087e-05/0.006339, allocations: 127.3 kB / 0.8846 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006339, allocations: 0 / 0.8846 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001312/0.006471, allocations: 11.94 kB / 0.8846 GB, free: 15.4 MB / 0.8542 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.0001373/0.006608, allocations: 111.2 kB / 0.8847 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001302/0.006738, allocations: 31.67 kB / 0.8848 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.00674, allocations: 0 / 0.8848 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.595e-05/0.006776, allocations: 23.67 kB / 0.8848 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000104/0.00688, allocations: 10.22 kB / 0.8848 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.007142, allocations: 110.4 kB / 0.8849 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.831e-05/0.00717, allocations: 55.22 kB / 0.885 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.443e-05/0.007185, allocations: 0 / 0.885 GB, free: 15 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.441e-05/0.007199, allocations: 8.5 kB / 0.885 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of SimCode: time 1.163e-06/0.0072, allocations: 4 kB / 0.885 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of Templates: time 0.002236/0.009436, allocations: 0.5029 MB / 0.8855 GB, free: 14.53 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.280369405634701]