Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.002108/0.002108, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002359/0.002359, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.628/1.628, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.654/2.654, allocations: 443.5 MB / 0.7304 GB, free: 13.9 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 63.89 kB / 1.059 GB, free: 392 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3444, allocations: 160.7 MB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002443/0.3469, allocations: 1.259 MB / 1.217 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.3479, allocations: 0.5887 MB / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.118e-05/0.348, allocations: 0 / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.104e-05/0.348, allocations: 0 / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.818e-05/0.348, allocations: 3.938 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005309/0.3485, allocations: 151.4 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.43e-05/0.3486, allocations: 15.88 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.551e-05/0.3486, allocations: 3.984 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.987e-05/0.3487, allocations: 8 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.179e-05/0.3487, allocations: 0 / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.3487, allocations: 0 / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005319/0.3492, allocations: 343.4 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.759e-06/0.3493, allocations: 0 / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.845e-05/0.3493, allocations: 7.875 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.3495, allocations: 139.6 kB / 1.219 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3495, allocations: 0 / 1.219 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3495, allocations: 0 / 1.219 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3496, allocations: 0 / 1.219 GB, free: 12.83 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.0004607/0.35, allocations: 363 kB / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3501, allocations: 12.03 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.019e-05/0.3501, allocations: 0.9375 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.3502, allocations: 164.3 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.3502, allocations: 384 / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-06/0.3502, allocations: 8.375 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.468e-05/0.3503, allocations: 30.27 kB / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3504, allocations: 4.125 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3504, allocations: 3.938 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3504, allocations: 0 / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.278e-05/0.3504, allocations: 7.984 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.3506, allocations: 145.7 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.822e-05/0.3506, allocations: 30.55 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.005e-05/0.3507, allocations: 12.91 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.3507, allocations: 0 / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.3507, allocations: 34.56 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.3507, allocations: 0 / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001551/0.3509, allocations: 45.64 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.3509, allocations: 51.41 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.86e-05/0.351, allocations: 105.9 kB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.351, allocations: 25.7 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.3511, allocations: 80.14 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.3511, allocations: 7.953 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.3511, allocations: 13.72 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3513, allocations: 310.8 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.127e-05/0.3513, allocations: 0 / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.119e-05/0.3513, allocations: 11.98 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.895e-05/0.3513, allocations: 13.05 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3513, allocations: 0 / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.511e-05/0.3514, allocations: 45.66 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.3514, allocations: 7.938 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.3514, allocations: 3.938 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.3514, allocations: 3.938 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.3516, allocations: 11.98 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004373/0.352, allocations: 0.5822 MB / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.69e-05/0.352, allocations: 0 / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.352, allocations: 0 / 1.221 GB, free: 10.47 MB / 0.9669 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 8.06e-05/0.3521, allocations: 113.8 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.543e-06/0.3521, allocations: 0 / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.3522, allocations: 52.73 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3522, allocations: 4.125 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3522, allocations: 0 / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3522, allocations: 4 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.3524, allocations: 161.5 kB / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.3524, allocations: 0 / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.139e-05/0.3524, allocations: 11.98 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3524, allocations: 0 / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3524, allocations: 4 kB / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003928/0.3528, allocations: 0.586 MB / 1.222 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3528, allocations: 7.875 kB / 1.222 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.041e-05/0.3529, allocations: 65.09 kB / 1.222 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-05/0.353, allocations: 77.11 kB / 1.222 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.353, allocations: 4 kB / 1.222 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.404e-05/0.353, allocations: 0 / 1.222 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.353, allocations: 11.92 kB / 1.222 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.353, allocations: 4.125 kB / 1.222 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.99e-05/0.3531, allocations: 79.28 kB / 1.222 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3531, allocations: 0 / 1.222 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001898/0.3532, allocations: 7.984 kB / 1.222 GB, free: 9.164 MB / 0.9669 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.000182/0.3534, allocations: 111.2 kB / 1.222 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001648/0.3536, allocations: 19.92 kB / 1.222 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3536, allocations: 4.156 kB / 1.222 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.191e-05/0.3537, allocations: 15.98 kB / 1.222 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.3538, allocations: 7.938 kB / 1.222 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.3541, allocations: 114 kB / 1.222 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.3545, allocations: 0.6768 MB / 1.223 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.387e-05/0.3545, allocations: 0 / 1.223 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.361e-05/0.3545, allocations: 11.5 kB / 1.223 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.3545, allocations: 0 / 1.223 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of Templates: time 0.002806/0.3573, allocations: 465.6 kB / 1.223 GB, free: 7.723 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.438408077694476]