Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.001722/0.001722, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001342/0.001342, allocations: 191.7 kB / 22.23 MB, free: 5.133 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.326/1.326, allocations: 225.6 MB / 251 MB, free: 13.03 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 2.852/2.852, allocations: 496 MB / 0.7835 GB, free: 33.64 MB / 0.6231 GB
"
[Timeout remaining time 177]
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.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions")
translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 72.3 kB / 1.138 GB, free: 33.78 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3433, allocations: 173.6 MB / 1.307 GB, free: 1.785 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002418/0.3457, allocations: 1.301 MB / 1.309 GB, free: 484 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001057/0.3468, allocations: 0.5877 MB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.684e-05/0.3468, allocations: 4 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.3468, allocations: 7.875 kB / 1.309 GB, free: 15.87 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 4.883e-05/0.3469, allocations: 3.984 kB / 1.309 GB, free: 15.87 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.3474, allocations: 143.4 kB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 6.974e-05/0.3475, allocations: 27.86 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.976e-05/0.3475, allocations: 3.984 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.078e-05/0.3475, allocations: 7.938 kB / 1.309 GB, free: 15.69 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.548e-05/0.3476, allocations: 8 kB / 1.309 GB, free: 15.68 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.3476, allocations: 8 kB / 1.309 GB, free: 15.67 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005383/0.3481, allocations: 339.4 kB / 1.31 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.3482, allocations: 0 / 1.31 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.3482, allocations: 15.88 kB / 1.31 GB, free: 15.32 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002833/0.3485, allocations: 143.6 kB / 1.31 GB, free: 15.18 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3485, allocations: 0 / 1.31 GB, free: 15.18 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.906e-06/0.3485, allocations: 0 / 1.31 GB, free: 15.18 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.76e-06/0.3485, allocations: 4 kB / 1.31 GB, free: 15.18 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: 5
 * Number of variables: 5
Notification: Performance of Generate backend data structure: time 0.0004519/0.3489, allocations: 282 kB / 1.31 GB, free: 14.87 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.349, allocations: 12.92 kB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.349, allocations: 0.9375 kB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.3491, allocations: 122.4 kB / 1.31 GB, free: 14.71 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.3491, allocations: 384 / 1.31 GB, free: 14.71 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.3491, allocations: 384 / 1.31 GB, free: 14.71 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.3493, allocations: 46.25 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3493, allocations: 192 / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3493, allocations: 3.938 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3493, allocations: 7.938 kB / 1.31 GB, free: 14.65 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.84e-05/0.3493, allocations: 12 kB / 1.31 GB, free: 14.64 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.3497, allocations: 228.1 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.3499, allocations: 46.44 kB / 1.311 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.367e-05/0.3499, allocations: 20.91 kB / 1.311 GB, free: 14.3 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.3499, allocations: 0 / 1.311 GB, free: 14.3 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.35, allocations: 42.56 kB / 1.311 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.35, allocations: 0 / 1.311 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4): time 0.000178/0.3501, allocations: 53.62 kB / 1.311 GB, free: 14.19 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.3502, allocations: 51.41 kB / 1.311 GB, free: 14.12 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.932e-05/0.3503, allocations: 101.8 kB / 1.311 GB, free: 14.02 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.3503, allocations: 25.7 kB / 1.311 GB, free: 13.98 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.3503, allocations: 88.09 kB / 1.311 GB, free: 13.89 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 1.34e-05/0.3504, allocations: 11.91 kB / 1.311 GB, free: 13.88 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.3504, allocations: 17.72 kB / 1.311 GB, free: 13.86 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001394/0.3505, allocations: 318.8 kB / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.3505, allocations: 8 kB / 1.311 GB, free: 13.53 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.643e-05/0.3506, allocations: 21.66 kB / 1.311 GB, free: 13.5 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.654e-05/0.3506, allocations: 37.64 kB / 1.311 GB, free: 13.46 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3506, allocations: 0 / 1.311 GB, free: 13.46 MB / 1.014 GB
Notification: Performance of matching and sorting (n=5) (initialization): time 8.9e-05/0.3507, allocations: 54 kB / 1.311 GB, free: 13.4 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.3507, allocations: 12.03 kB / 1.311 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3507, allocations: 0 / 1.311 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.3508, allocations: 4.031 kB / 1.311 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.987e-05/0.3508, allocations: 11.94 kB / 1.311 GB, free: 13.38 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.3508, allocations: 0 / 1.311 GB, free: 13.38 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.804e-05/0.3508, allocations: 7.938 kB / 1.311 GB, free: 13.37 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.3508, allocations: 4 kB / 1.311 GB, free: 13.36 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * 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 (5):
 * Single equations (assignments): 5
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 8.846e-05/0.3509, allocations: 113.8 kB / 1.312 GB, free: 13.24 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.351, allocations: 7.953 kB / 1.312 GB, free: 13.23 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.3511, allocations: 61.38 kB / 1.312 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3511, allocations: 0 / 1.312 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3511, allocations: 0 / 1.312 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3511, allocations: 0 / 1.312 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.3513, allocations: 128.7 kB / 1.312 GB, free: 13 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3513, allocations: 4 kB / 1.312 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.699e-05/0.3513, allocations: 15.88 kB / 1.312 GB, free: 12.98 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3513, allocations: 3.984 kB / 1.312 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.3513, allocations: 0 / 1.312 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3513, allocations: 0 / 1.312 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3513, allocations: 4 kB / 1.312 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.3515, allocations: 147.5 kB / 1.312 GB, free: 12.81 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.465e-06/0.3515, allocations: 4 kB / 1.312 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.3515, allocations: 0 / 1.312 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.967e-05/0.3515, allocations: 4.125 kB / 1.312 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.3515, allocations: 4 kB / 1.312 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.3515, allocations: 3.984 kB / 1.312 GB, free: 12.79 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.243e-05/0.3516, allocations: 79.28 kB / 1.312 GB, free: 12.71 MB / 1.014 GB
Notification: Performance of sort global known variables: time 1.01e-07/0.3516, allocations: 4 kB / 1.312 GB, free: 12.71 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002353/0.3518, allocations: 19.94 kB / 1.312 GB, free: 12.69 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 (4):
 * Single equations (assignments): 4
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001977/0.352, allocations: 121.4 kB / 1.312 GB, free: 12.56 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001026/0.3521, allocations: 23.98 kB / 1.312 GB, free: 12.54 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3521, allocations: 0 / 1.312 GB, free: 12.54 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 2.061e-05/0.3521, allocations: 12 kB / 1.312 GB, free: 12.53 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.3523, allocations: 12.75 kB / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.3526, allocations: 126.9 kB / 1.312 GB, free: 12.37 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.353, allocations: 0.6768 MB / 1.313 GB, free: 11.66 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 2.819e-05/0.353, allocations: 4.234 kB / 1.313 GB, free: 11.66 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.353, allocations: 15.38 kB / 1.313 GB, free: 11.64 MB / 1.014 GB
Notification: Performance of SimCode: time 2.91e-07/0.353, allocations: 0 / 1.313 GB, free: 11.64 MB / 1.014 GB
Notification: Performance of Templates: time 0.002934/0.356, allocations: 0.5319 MB / 1.313 GB, free: 11.11 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.039702011272311]