Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.002493/0.002493, allocations: 79.75 kB / 20.24 MB, free: 4.176 MB / 18.57 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.002925/0.002925, allocations: 153.8 kB / 23.55 MB, free: 0.8672 MB / 18.57 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.584/1.584, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.97/2.97, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0.7656 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/2.982e-05, allocations: 5.828 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.003416/0.003446, allocations: 1.321 MB / 0.7877 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.004879, allocations: 0.561 MB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.914e-05/0.004908, allocations: 0 / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.192e-05/0.00493, allocations: 3.938 kB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.155e-05/0.004991, allocations: 4.875 kB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006902/0.005682, allocations: 152.5 kB / 0.7884 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.159e-05/0.005753, allocations: 19.88 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.064e-05/0.005794, allocations: 5.406 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.584e-05/0.00584, allocations: 7.984 kB / 0.7884 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.116e-05/0.005901, allocations: 7.984 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.005917, allocations: 0 / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006549/0.006572, allocations: 274.5 kB / 0.7887 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.00659, allocations: 3.984 kB / 0.7887 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.006617, allocations: 8 kB / 0.7887 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004145/0.007032, allocations: 155.4 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.536e-05/0.007047, allocations: 4 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.52e-07/0.007048, allocations: 0 / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.007053, allocations: 0 / 0.7888 GB, free: 10.32 MB / 0.7448 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.0006631/0.007716, allocations: 387.9 kB / 0.7892 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.007761, allocations: 9.219 kB / 0.7892 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.142e-05/0.007812, allocations: 8.875 kB / 0.7892 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.007957, allocations: 108.6 kB / 0.7893 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.007975, allocations: 8.969 kB / 0.7893 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-06/0.007984, allocations: 1.5 kB / 0.7893 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.008114, allocations: 42.25 kB / 0.7894 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.008123, allocations: 192 / 0.7894 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.008135, allocations: 4.891 kB / 0.7894 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.00814, allocations: 384 / 0.7894 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.702e-05/0.008217, allocations: 20.48 kB / 0.7894 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.008689, allocations: 260.5 kB / 0.7896 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.008952, allocations: 48.48 kB / 0.7897 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/0.009006, allocations: 23.67 kB / 0.7897 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.00903, allocations: 4 kB / 0.7897 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.009075, allocations: 35.14 kB / 0.7897 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.009076, allocations: 0 / 0.7897 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002508/0.009327, allocations: 61.56 kB / 0.7898 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.009383, allocations: 51.41 kB / 0.7899 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.009551, allocations: 161.9 kB / 0.79 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.009577, allocations: 27.23 kB / 0.79 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.009687, allocations: 138.8 kB / 0.7902 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.009713, allocations: 15.84 kB / 0.7902 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.009771, allocations: 23.38 kB / 0.7902 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003308/0.0101, allocations: 493.9 kB / 0.7907 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.155e-05/0.01013, allocations: 11.98 kB / 0.7907 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.407e-05/0.01019, allocations: 23.38 kB / 0.7907 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.668e-05/0.01027, allocations: 39.3 kB / 0.7907 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01028, allocations: 2.281 kB / 0.7908 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001444/0.01042, allocations: 57.69 kB / 0.7908 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.01044, allocations: 11.94 kB / 0.7908 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.01045, allocations: 3.938 kB / 0.7908 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.01046, allocations: 128 / 0.7908 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-05/0.01053, allocations: 12.53 kB / 0.7908 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.01053, allocations: 0 / 0.7908 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.239e-05/0.01057, allocations: 0.7188 kB / 0.7908 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.01057, allocations: 4 kB / 0.7908 GB, free: 8.051 MB / 0.7448 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 0.0002419/0.01081, allocations: 158.7 kB / 0.791 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.01085, allocations: 11.89 kB / 0.791 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.01106, allocations: 69.66 kB / 0.7911 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01106, allocations: 0 / 0.7911 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.01106, allocations: 0.625 kB / 0.7911 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.01106, allocations: 0 / 0.7911 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.01129, allocations: 117.4 kB / 0.7912 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/0.0113, allocations: 7.969 kB / 0.7912 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.606e-05/0.01134, allocations: 4.625 kB / 0.7912 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01135, allocations: 1.156 kB / 0.7912 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.01136, allocations: 4 kB / 0.7912 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.01136, allocations: 3.938 kB / 0.7912 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01136, allocations: 0.6875 kB / 0.7912 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.01159, allocations: 191.9 kB / 0.7914 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.01161, allocations: 12.59 kB / 0.7914 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.01162, allocations: 0 / 0.7914 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.898e-05/0.0117, allocations: 4.781 kB / 0.7914 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.01173, allocations: 7.922 kB / 0.7914 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.01174, allocations: 5.906 kB / 0.7914 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.079e-05/0.01183, allocations: 119.2 kB / 0.7915 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.01183, allocations: 0 / 0.7915 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004264/0.01225, allocations: 23.94 kB / 0.7916 GB, free: 7.254 MB / 0.7448 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.000285/0.01254, allocations: 119.9 kB / 0.7917 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.01268, allocations: 26.06 kB / 0.7917 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01268, allocations: 0 / 0.7917 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.757e-05/0.01273, allocations: 23.61 kB / 0.7917 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.01307, allocations: 4 kB / 0.7917 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.01349, allocations: 134.2 kB / 0.7918 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.964e-05/0.01358, allocations: 65.25 kB / 0.7919 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.89e-05/0.01362, allocations: 4.234 kB / 0.7919 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.01365, allocations: 13 kB / 0.7919 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.01365, allocations: 0.5 kB / 0.7919 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of Templates: time 0.004279/0.01793, allocations: 0.5366 MB / 0.7924 GB, free: 6.301 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.019317829981446]