Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001909/0.001909, allocations: 78.09 kB / 19.76 MB, free: 2.031 MB / 14.72 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.002305/0.002305, allocations: 159.1 kB / 23.01 MB, free: 4.945 MB / 14.72 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.452/1.452, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] 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.841/2.841, allocations: 394.2 MB / 0.6387 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002355, allocations: 59.91 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9541/0.9565, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002268/0.9587, allocations: 1.286 MB / 1.188 GB, free: 15.3 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008949/0.9596, allocations: 0.5184 MB / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.445e-05/0.9597, allocations: 0 / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.9597, allocations: 0.5625 kB / 1.188 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.843e-05/0.9597, allocations: 5.938 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/0.9602, allocations: 136.8 kB / 1.189 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.427e-05/0.9603, allocations: 18.06 kB / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.795e-05/0.9603, allocations: 2.438 kB / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.698e-05/0.9604, allocations: 2.156 kB / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.089e-05/0.9604, allocations: 3.688 kB / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.9604, allocations: 1.094 kB / 1.189 GB, free: 14.89 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004999/0.9609, allocations: 267.6 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.9609, allocations: 4 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.9609, allocations: 7.266 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.9612, allocations: 132.5 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.9612, allocations: 0 / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.775e-06/0.9612, allocations: 1.531 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.9612, allocations: 0 / 1.189 GB, free: 14.79 MB / 1.076 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.0003993/0.9616, allocations: 279.5 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.9617, allocations: 9.578 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.9617, allocations: 2.875 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.268e-05/0.9618, allocations: 104.9 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.9618, allocations: 4.375 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.9618, allocations: 6.266 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.285e-05/0.9619, allocations: 39.3 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.9619, allocations: 192 / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.9619, allocations: 3.938 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.9619, allocations: 0.8906 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.389e-05/0.962, allocations: 3.25 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001172/0.9621, allocations: 102.2 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 6.001e-05/0.9621, allocations: 20.44 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.079e-05/0.9622, allocations: 11.84 kB / 1.189 GB, free: 14.16 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.9622, allocations: 1.156 kB / 1.189 GB, free: 14.16 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.9622, allocations: 36.11 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.9622, allocations: 0 / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001389/0.9623, allocations: 49.08 kB / 1.19 GB, free: 14.08 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.9624, allocations: 52.66 kB / 1.19 GB, free: 14.02 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.43e-05/0.9624, allocations: 98 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.164e-06/0.9624, allocations: 26.73 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.365e-05/0.9624, allocations: 80.14 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.9625, allocations: 6.031 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.9625, allocations: 18 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.045e-05/0.9625, allocations: 317.6 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.24e-05/0.9625, allocations: 5.344 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-06/0.9626, allocations: 2.891 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.811e-05/0.9626, allocations: 14.81 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.9626, allocations: 0 / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.392e-05/0.9626, allocations: 39.56 kB / 1.19 GB, free: 13.41 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.9627, allocations: 5.125 kB / 1.19 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.9627, allocations: 1.656 kB / 1.19 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.9627, allocations: 8.031 kB / 1.19 GB, free: 13.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.9628, allocations: 10.41 kB / 1.19 GB, free: 13.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002589/0.9631, allocations: 0.5842 MB / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.032e-05/0.9631, allocations: 8.484 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.9631, allocations: 1.312 kB / 1.191 GB, free: 12.8 MB / 1.076 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.434e-05/0.9632, allocations: 122.2 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-06/0.9632, allocations: 1.984 kB / 1.191 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.878e-05/0.9633, allocations: 48.7 kB / 1.191 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.9633, allocations: 0 / 1.191 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.9633, allocations: 1.828 kB / 1.191 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.9633, allocations: 0 / 1.191 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.924e-05/0.9633, allocations: 97.69 kB / 1.191 GB, free: 12.51 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.9633, allocations: 9.031 kB / 1.191 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.504e-05/0.9634, allocations: 14.05 kB / 1.191 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.9634, allocations: 0 / 1.191 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.9634, allocations: 1.406 kB / 1.191 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001855/0.9636, allocations: 0.584 MB / 1.192 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.9636, allocations: 4.125 kB / 1.192 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.428e-05/0.9637, allocations: 75.14 kB / 1.192 GB, free: 11.83 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.9637, allocations: 6 kB / 1.192 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.9637, allocations: 0 / 1.192 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.48e-05/0.9637, allocations: 2.047 kB / 1.192 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.9637, allocations: 0.5625 kB / 1.192 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.9637, allocations: 1.344 kB / 1.192 GB, free: 11.82 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.732e-05/0.9637, allocations: 78 kB / 1.192 GB, free: 11.75 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.9637, allocations: 0 / 1.192 GB, free: 11.75 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001952/0.9639, allocations: 11.94 kB / 1.192 GB, free: 11.75 MB / 1.076 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.0001414/0.9641, allocations: 111.4 kB / 1.192 GB, free: 11.65 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001618/0.9642, allocations: 20.92 kB / 1.192 GB, free: 11.64 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.9642, allocations: 1.25 kB / 1.192 GB, free: 11.64 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.278e-05/0.9643, allocations: 11.92 kB / 1.192 GB, free: 11.64 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.9645, allocations: 5.766 kB / 1.192 GB, free: 11.64 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/0.9648, allocations: 114.8 kB / 1.192 GB, free: 11.52 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.188e-05/0.9648, allocations: 58.33 kB / 1.192 GB, free: 11.45 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.44e-05/0.9648, allocations: 0 / 1.192 GB, free: 11.45 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.268e-05/0.9648, allocations: 9.75 kB / 1.192 GB, free: 11.45 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.9648, allocations: 0 / 1.192 GB, free: 11.45 MB / 1.076 GB Notification: Performance of Templates: time 0.003025/0.9679, allocations: 480.5 kB / 1.193 GB, free: 11.39 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.915912027936429]