Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002038/0.002038, allocations: 188.3 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 251 MB, free: 12.99 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.874/2.874, allocations: 476.7 MB / 0.7646 GB, free: 9.836 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 68.06 kB / 1.11 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8916/0.8937, allocations: 168.8 MB / 1.274 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00248/0.8961, allocations: 1.264 MB / 1.276 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.8973, allocations: 0.5954 MB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.8973, allocations: 0 / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.8973, allocations: 0 / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.441e-05/0.8974, allocations: 4 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005482/0.8979, allocations: 143.4 kB / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.253e-05/0.898, allocations: 11.94 kB / 1.276 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.073e-05/0.898, allocations: 3.984 kB / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.45e-05/0.898, allocations: 4 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.879e-05/0.8981, allocations: 7.938 kB / 1.276 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.8981, allocations: 0 / 1.276 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000552/0.8987, allocations: 347.3 kB / 1.277 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.052e-05/0.8987, allocations: 0 / 1.277 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.13e-05/0.8987, allocations: 0 / 1.277 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.899, allocations: 149.9 kB / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.899, allocations: 0 / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.082e-06/0.899, allocations: 0 / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.899, allocations: 0 / 1.277 GB, free: 1.668 MB / 0.9669 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.000442/0.8994, allocations: 274.1 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.8995, allocations: 11.97 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.8995, allocations: 0.9375 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.8996, allocations: 106.5 kB / 1.277 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.8996, allocations: 384 / 1.277 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.8996, allocations: 4.375 kB / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.8997, allocations: 38.25 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.8997, allocations: 192 / 1.277 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.8998, allocations: 7.922 kB / 1.277 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.8998, allocations: 0 / 1.277 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.281e-05/0.8998, allocations: 7.938 kB / 1.277 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.9, allocations: 124.8 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.721e-05/0.9, allocations: 18.61 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.313e-05/0.9001, allocations: 16.92 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.9001, allocations: 0 / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.9001, allocations: 34.5 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.9001, allocations: 0 / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001636/0.9003, allocations: 49.52 kB / 1.277 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.9003, allocations: 59.41 kB / 1.278 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.52e-05/0.9004, allocations: 93.98 kB / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.9004, allocations: 25.7 kB / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.9005, allocations: 84.12 kB / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.9005, allocations: 11.89 kB / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.9005, allocations: 13.72 kB / 1.278 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.9007, allocations: 318.8 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/0.9007, allocations: 0 / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.358e-06/0.9007, allocations: 4 kB / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.418e-05/0.9007, allocations: 17.05 kB / 1.278 GB, free: 196 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.9007, allocations: 4 kB / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.995e-05/0.9008, allocations: 41.62 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.9008, allocations: 5.875 kB / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.9008, allocations: 3.938 kB / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.9008, allocations: 4 kB / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.901, allocations: 4 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004224/0.9014, allocations: 0.59 MB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.952e-05/0.9014, allocations: 3.984 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.9014, allocations: 3.984 kB / 1.279 GB, free: 15.5 MB / 0.9825 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 9.198e-05/0.9015, allocations: 119.9 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-06/0.9015, allocations: 4.031 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.9017, allocations: 45 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.9017, allocations: 128 / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.9017, allocations: 4 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.9017, allocations: 0 / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.9018, allocations: 128.6 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.9018, allocations: 0 / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.453e-05/0.9018, allocations: 11.98 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.9018, allocations: 0 / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.9018, allocations: 0 / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003505/0.9022, allocations: 0.5914 MB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.9022, allocations: 3.938 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.927e-05/0.9023, allocations: 65.16 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-06/0.9023, allocations: 3.938 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.9023, allocations: 0 / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.374e-05/0.9023, allocations: 0 / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.9023, allocations: 11.92 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.9023, allocations: 0 / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.739e-05/0.9024, allocations: 79.38 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9024, allocations: 0 / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001944/0.9026, allocations: 15.94 kB / 1.28 GB, free: 14.34 MB / 0.9825 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.0001672/0.9027, allocations: 111.2 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001637/0.9029, allocations: 15.98 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9029, allocations: 0 / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.397e-05/0.903, allocations: 12.16 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.9031, allocations: 18.55 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003344/0.9035, allocations: 98.16 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.9037, allocations: 0.6806 MB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.511e-05/0.9038, allocations: 0 / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.442e-05/0.9038, allocations: 7.438 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.9038, allocations: 4.062 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of Templates: time 0.003014/0.9068, allocations: 487 kB / 1.281 GB, free: 12.89 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.035778166726232]