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.001536/0.001536, 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.001851/0.001851, allocations: 165 kB / 23.02 MB, free: 1.551 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.9699/0.9699, allocations: 177.1 MB / 203.4 MB, free: 5.168 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.04/2.04, allocations: 429.5 MB / 0.6732 GB, free: 4.031 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.834e-06/1.834e-06, allocations: 0 / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.941e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.009239/0.009268, allocations: 1.338 MB / 0.8795 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008655/0.01013, allocations: 0.5521 MB / 0.88 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.048e-05/0.01016, allocations: 1.125 kB / 0.88 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.01019, allocations: 7.875 kB / 0.88 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.429e-05/0.01023, allocations: 0 / 0.88 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005352/0.01077, allocations: 144.4 kB / 0.8802 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.505e-05/0.01082, allocations: 12.91 kB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.01087, allocations: 4 kB / 0.8802 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006052/0.01692, allocations: 12.58 kB / 0.8802 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.969e-05/0.01697, allocations: 0 / 0.8802 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.01698, allocations: 4.719 kB / 0.8802 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004168/0.0174, allocations: 271.4 kB / 0.8805 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.01741, allocations: 1.25 kB / 0.8805 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.974e-05/0.01743, allocations: 4 kB / 0.8805 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.01767, allocations: 147.5 kB / 0.8806 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.01768, allocations: 4.766 kB / 0.8806 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.302e-06/0.01768, allocations: 0 / 0.8806 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.01768, allocations: 0 / 0.8806 GB, free: 3.801 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.0003573/0.01804, allocations: 380.8 kB / 0.881 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.01808, allocations: 13.12 kB / 0.881 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.01811, allocations: 0.9375 kB / 0.881 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.228e-05/0.0182, allocations: 109.3 kB / 0.8811 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.01821, allocations: 4.312 kB / 0.8811 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.01822, allocations: 1.156 kB / 0.8811 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.793e-05/0.0183, allocations: 34.25 kB / 0.8811 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.01831, allocations: 1.125 kB / 0.8811 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.01832, allocations: 384 / 0.8811 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.01832, allocations: 4 kB / 0.8811 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.795e-05/0.01834, allocations: 7.938 kB / 0.8811 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001246/0.01847, allocations: 112.7 kB / 0.8813 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.794e-05/0.01851, allocations: 31 kB / 0.8813 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.159e-05/0.01854, allocations: 15.67 kB / 0.8813 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.01855, allocations: 64 / 0.8813 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.01858, allocations: 41.39 kB / 0.8813 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.01858, allocations: 0 / 0.8813 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001229/0.0187, allocations: 34.39 kB / 0.8814 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.01873, allocations: 51.41 kB / 0.8814 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.752e-05/0.01881, allocations: 166.5 kB / 0.8816 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.01882, allocations: 26.27 kB / 0.8816 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.388e-05/0.01885, allocations: 128 kB / 0.8817 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.01888, allocations: 7.953 kB / 0.8817 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.01891, allocations: 23.31 kB / 0.8818 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.01903, allocations: 0.4898 MB / 0.8822 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.115e-05/0.01904, allocations: 0 / 0.8822 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.293e-06/0.01905, allocations: 0 / 0.8822 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.858e-05/0.01908, allocations: 19.98 kB / 0.8823 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01908, allocations: 4 kB / 0.8823 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.581e-05/0.01913, allocations: 37.7 kB / 0.8823 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.01915, allocations: 4 kB / 0.8823 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.01915, allocations: 0 / 0.8823 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.01917, allocations: 0 / 0.8823 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.01931, allocations: 15.92 kB / 0.8823 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003576/0.01967, allocations: 0.8971 MB / 0.8832 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.01969, allocations: 3.938 kB / 0.8832 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.0197, allocations: 7.984 kB / 0.8832 GB, free: 0.9297 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 0.006085/0.02578, allocations: 156.7 kB / 0.8834 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.0258, allocations: 3.938 kB / 0.8834 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.02592, allocations: 48.94 kB / 0.8834 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.02592, allocations: 4 kB / 0.8834 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.02593, allocations: 4 kB / 0.8834 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.02593, allocations: 0 / 0.8834 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.758e-05/0.02601, allocations: 112.6 kB / 0.8835 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.02601, allocations: 4 kB / 0.8835 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.587e-05/0.0261, allocations: 4 kB / 0.8835 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.0261, allocations: 8.031 kB / 0.8835 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.02611, allocations: 3.938 kB / 0.8835 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003345/0.02644, allocations: 0.8933 MB / 0.8844 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.02644, allocations: 0 / 0.8844 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.555e-05/0.02651, allocations: 76.33 kB / 0.8845 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.008e-05/0.02652, allocations: 11.94 kB / 0.8845 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.02653, allocations: 0 / 0.8845 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.069e-05/0.02654, allocations: 0 / 0.8845 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.02655, allocations: 96 / 0.8845 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.02656, allocations: 8 kB / 0.8845 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.558e-05/0.0266, allocations: 119.2 kB / 0.8846 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.0266, allocations: 0 / 0.8846 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000203/0.0268, allocations: 8 kB / 0.8846 GB, free: 15.37 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.0001667/0.02697, allocations: 111.1 kB / 0.8847 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.02712, allocations: 31.67 kB / 0.8848 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.02712, allocations: 0 / 0.8848 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.494e-05/0.02717, allocations: 27.77 kB / 0.8848 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.02731, allocations: 3.938 kB / 0.8848 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.02761, allocations: 106.5 kB / 0.8849 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.137e-05/0.02764, allocations: 55.22 kB / 0.8849 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.612e-05/0.02766, allocations: 4 kB / 0.8849 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.845e-05/0.02767, allocations: 8.5 kB / 0.885 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of SimCode: time 7.21e-07/0.02768, allocations: 4.062 kB / 0.885 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of Templates: time 0.008399/0.03607, allocations: 485 kB / 0.8854 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.644022462423891]