Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001801/0.001801, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002228/0.002228, allocations: 191.1 kB / 22.11 MB, free: 4.625 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.576/1.576, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.308/3.308, allocations: 495.8 MB / 0.783 GB, free: 33.5 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 67.64 kB / 1.137 GB, free: 33.84 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3398, allocations: 173.6 MB / 1.307 GB, free: 1.867 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002428/0.3422, allocations: 1.258 MB / 1.308 GB, free: 0.5977 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001054/0.3433, allocations: 0.5842 MB / 1.309 GB, free: 12 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.3433, allocations: 4 kB / 1.309 GB, free: 8 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 2.299e-05/0.3433, allocations: 3.938 kB / 1.309 GB, free: 4 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 6.059e-05/0.3434, allocations: 8.047 kB / 1.309 GB, free: 15.99 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.3439, allocations: 140.7 kB / 1.309 GB, free: 15.86 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 5.707e-05/0.344, allocations: 15.92 kB / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.344, allocations: 0 / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.111e-05/0.3441, allocations: 4 kB / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.705e-05/0.3441, allocations: 3.984 kB / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.3441, allocations: 4 kB / 1.309 GB, free: 15.83 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004785/0.3446, allocations: 279.5 kB / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.3446, allocations: 7.938 kB / 1.309 GB, free: 15.55 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.3446, allocations: 3.984 kB / 1.309 GB, free: 15.55 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.3449, allocations: 135.5 kB / 1.309 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3449, allocations: 0 / 1.309 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.263e-06/0.3449, allocations: 0 / 1.309 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.506e-06/0.3449, allocations: 0 / 1.309 GB, free: 15.41 MB / 1.014 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.0003894/0.3453, allocations: 274 kB / 1.309 GB, free: 15.11 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.3453, allocations: 8.031 kB / 1.309 GB, free: 15.11 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.3453, allocations: 4.938 kB / 1.309 GB, free: 15.1 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.3454, allocations: 114.5 kB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.3455, allocations: 384 / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.3455, allocations: 4.375 kB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.502e-05/0.3456, allocations: 30.25 kB / 1.31 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3456, allocations: 192 / 1.31 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.3456, allocations: 7.938 kB / 1.31 GB, free: 14.92 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.3456, allocations: 0 / 1.31 GB, free: 14.92 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.275e-05/0.3456, allocations: 0 / 1.31 GB, free: 14.92 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.3458, allocations: 132.7 kB / 1.31 GB, free: 14.75 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 6.542e-05/0.3458, allocations: 30.59 kB / 1.31 GB, free: 14.71 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.136e-05/0.3459, allocations: 8.922 kB / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.3459, allocations: 0 / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.3459, allocations: 30.56 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.3459, allocations: 0 / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2): time 0.0001628/0.3461, allocations: 57.52 kB / 1.31 GB, free: 14.59 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.3461, allocations: 55.53 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.759e-05/0.3462, allocations: 93.86 kB / 1.31 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.3462, allocations: 25.7 kB / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.3462, allocations: 80.14 kB / 1.31 GB, free: 14.31 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.3463, allocations: 7.938 kB / 1.31 GB, free: 14.3 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.3463, allocations: 17.7 kB / 1.31 GB, free: 14.28 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001323/0.3464, allocations: 310.8 kB / 1.31 GB, free: 13.97 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/0.3464, allocations: 0 / 1.31 GB, free: 13.97 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.282e-05/0.3465, allocations: 12.12 kB / 1.31 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.031e-05/0.3465, allocations: 8.859 kB / 1.31 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3465, allocations: 3.938 kB / 1.31 GB, free: 13.94 MB / 1.014 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 7.529e-05/0.3466, allocations: 49.58 kB / 1.31 GB, free: 13.89 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3466, allocations: 8.938 kB / 1.31 GB, free: 13.88 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.3466, allocations: 3.938 kB / 1.31 GB, free: 13.88 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3466, allocations: 0 / 1.31 GB, free: 13.88 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.3468, allocations: 8 kB / 1.31 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004162/0.3472, allocations: 0.5861 MB / 1.311 GB, free: 13.26 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/0.3472, allocations: 0 / 1.311 GB, free: 13.26 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.3472, allocations: 0 / 1.311 GB, free: 13.26 MB / 1.014 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.897e-05/0.3473, allocations: 113.8 kB / 1.311 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-06/0.3473, allocations: 0 / 1.311 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.3474, allocations: 53.03 kB / 1.311 GB, free: 13.08 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3474, allocations: 0 / 1.311 GB, free: 13.08 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.3474, allocations: 0 / 1.311 GB, free: 13.08 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3474, allocations: 0 / 1.311 GB, free: 13.08 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.3475, allocations: 128.7 kB / 1.311 GB, free: 12.91 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3475, allocations: 0 / 1.311 GB, free: 12.91 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.279e-05/0.3476, allocations: 8 kB / 1.311 GB, free: 12.9 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3476, allocations: 0 / 1.311 GB, free: 12.9 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.3476, allocations: 4 kB / 1.311 GB, free: 12.9 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003626/0.348, allocations: 0.5899 MB / 1.312 GB, free: 12.29 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.348, allocations: 7.922 kB / 1.312 GB, free: 12.28 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 7.558e-05/0.3481, allocations: 57.17 kB / 1.312 GB, free: 12.2 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.52e-06/0.3481, allocations: 0 / 1.312 GB, free: 12.2 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.457e-06/0.3481, allocations: 4 kB / 1.312 GB, free: 12.2 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.237e-05/0.3481, allocations: 4 kB / 1.312 GB, free: 12.2 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/0.3481, allocations: 12.05 kB / 1.312 GB, free: 12.18 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.3481, allocations: 4 kB / 1.312 GB, free: 12.18 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 3.976e-05/0.3482, allocations: 79.28 kB / 1.312 GB, free: 12.1 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.3482, allocations: 0 / 1.312 GB, free: 12.1 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002028/0.3484, allocations: 15.88 kB / 1.312 GB, free: 12.09 MB / 1.014 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.0001608/0.3485, allocations: 108 kB / 1.312 GB, free: 11.97 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001838/0.3487, allocations: 28.02 kB / 1.312 GB, free: 11.94 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.3487, allocations: 0 / 1.312 GB, free: 11.94 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 9.879e-05/0.3488, allocations: 15.98 kB / 1.312 GB, free: 11.93 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.349, allocations: 0 / 1.312 GB, free: 11.93 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004001/0.3494, allocations: 106.2 kB / 1.312 GB, free: 11.8 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.3497, allocations: 0.6806 MB / 1.313 GB, free: 11.09 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 1.724e-05/0.3497, allocations: 8.062 kB / 1.313 GB, free: 11.08 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.477e-05/0.3497, allocations: 7.438 kB / 1.313 GB, free: 11.07 MB / 1.014 GB
Notification: Performance of SimCode: time 3.41e-07/0.3497, allocations: 4 kB / 1.313 GB, free: 11.07 MB / 1.014 GB
Notification: Performance of Templates: time 0.00283/0.3525, allocations: 473.3 kB / 1.313 GB, free: 10.62 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.451967855915427]