Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001885/0.001885, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002488/0.002488, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.564/1.564, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.218/3.218, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002213/0.002213, allocations: 72.98 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3722, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002598/0.3748, allocations: 1.274 MB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.3758, allocations: 0.5181 MB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.3759, allocations: 3.938 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.141e-05/0.3759, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.156e-05/0.3759, allocations: 7.938 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.3765, allocations: 131.5 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.811e-05/0.3765, allocations: 7.938 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.221e-05/0.3766, allocations: 4 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.191e-05/0.3766, allocations: 3.984 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.44e-05/0.3767, allocations: 7.984 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.3767, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004932/0.3772, allocations: 279.5 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.3772, allocations: 7.938 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.744e-05/0.3773, allocations: 7.984 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.3776, allocations: 127.6 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3776, allocations: 0 / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3776, allocations: 3.938 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.783e-05/0.3776, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 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.0005846/0.3782, allocations: 278 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.3782, allocations: 12.03 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.3783, allocations: 4.891 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.3784, allocations: 106.5 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.3784, allocations: 4.312 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.3785, allocations: 8.375 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.3786, allocations: 42.19 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.3786, allocations: 4.172 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.3786, allocations: 3.938 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.3786, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.927e-05/0.3787, allocations: 4 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002102/0.3789, allocations: 93.33 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.436e-05/0.379, allocations: 30.55 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.532e-05/0.379, allocations: 4.859 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.379, allocations: 7.984 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.3791, allocations: 34.62 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3791, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001861/0.3793, allocations: 41.64 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.3793, allocations: 51.41 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.541e-05/0.3794, allocations: 101.8 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.3794, allocations: 25.7 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.3795, allocations: 80.14 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.3795, allocations: 7.953 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.3795, allocations: 13.91 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3797, allocations: 322.8 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.3797, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.071e-05/0.3797, allocations: 4 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.826e-05/0.3798, allocations: 16.84 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3798, allocations: 3.938 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.255e-05/0.3798, allocations: 37.7 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3799, allocations: 8 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3799, allocations: 0 / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.3799, allocations: 3.938 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.3801, allocations: 16.08 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004559/0.3805, allocations: 0.5821 MB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.034e-05/0.3805, allocations: 3.953 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.3805, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 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.0001031/0.3806, allocations: 119.2 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.724e-06/0.3806, allocations: 0 / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.3808, allocations: 48.94 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3808, allocations: 128 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3808, allocations: 4 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3808, allocations: 4 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.003e-05/0.3809, allocations: 97.31 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3809, allocations: 3.938 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.931e-05/0.3809, allocations: 8 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3809, allocations: 0 / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.3809, allocations: 4 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003787/0.3813, allocations: 0.586 MB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3813, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.202e-05/0.3814, allocations: 73.14 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.3814, allocations: 8 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.3814, allocations: 3.984 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.475e-05/0.3814, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.953e-05/0.3815, allocations: 4 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.3815, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.398e-05/0.3815, allocations: 75.28 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3815, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002252/0.3817, allocations: 15.88 kB / 1.332 GB, free: 11.36 MB / 1.029 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.0001908/0.3819, allocations: 115.3 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.3821, allocations: 19.98 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3821, allocations: 0 / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.081e-05/0.3822, allocations: 23.86 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.3824, allocations: 1.875 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003945/0.3828, allocations: 106.1 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.356e-05/0.3828, allocations: 59.48 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.714e-05/0.3828, allocations: 0 / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.879e-05/0.3829, allocations: 11.44 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.3829, allocations: 0 / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of Templates: time 0.003116/0.386, allocations: 499.7 kB / 1.333 GB, free: 10.53 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.274692627994227]