Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009471/0.0009471, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008237/0.0008237, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8807/0.8807, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.693/1.693, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 3.938 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.772e-05/1.905e-05, allocations: 13.23 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001484/0.001503, allocations: 1.298 MB / 1.002 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006603/0.002163, allocations: 0.5261 MB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.002189, allocations: 0 / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.961e-05/0.002208, allocations: 3.938 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.875e-05/0.002247, allocations: 0 / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.002683, allocations: 151.2 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.911e-05/0.002742, allocations: 27.86 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.002784, allocations: 0 / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.208e-05/0.002816, allocations: 11.98 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.679e-05/0.002863, allocations: 4 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.002876, allocations: 0 / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002704/0.003147, allocations: 271.4 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.00316, allocations: 4 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.707e-05/0.003177, allocations: 7.922 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.003367, allocations: 155.5 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.003369, allocations: 8 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.42e-07/0.00337, allocations: 0 / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.003374, allocations: 0 / 1.003 GB, free: 10.54 MB / 0.9636 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.0003369/0.003711, allocations: 282 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.003752, allocations: 8.75 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.003782, allocations: 4.891 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.937e-05/0.003861, allocations: 113.7 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.003871, allocations: 384 / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.00388, allocations: 4.375 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.221e-05/0.003972, allocations: 42.19 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.003981, allocations: 12.19 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.00399, allocations: 4.375 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.003995, allocations: 384 / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.114e-05/0.004036, allocations: 11.94 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002386/0.004275, allocations: 200.6 kB / 1.004 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.004436, allocations: 42.62 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.469e-05/0.004461, allocations: 12.86 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.00448, allocations: 4 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.004496, allocations: 38.48 kB / 1.004 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.004497, allocations: 4 kB / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0001452/0.004642, allocations: 61.62 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.004678, allocations: 51.41 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.077e-05/0.004728, allocations: 97.86 kB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.004739, allocations: 25.7 kB / 1.004 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.004775, allocations: 84.09 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.739e-06/0.004785, allocations: 19.83 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.004809, allocations: 17.72 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.9e-05/0.004878, allocations: 310.8 kB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.402e-05/0.004892, allocations: 8 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.407e-05/0.004916, allocations: 29.64 kB / 1.005 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.517e-05/0.004951, allocations: 34.08 kB / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.004953, allocations: 0 / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.822e-05/0.005011, allocations: 57.62 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.005022, allocations: 8 kB / 1.005 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.005029, allocations: 3.938 kB / 1.005 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.00504, allocations: 3.938 kB / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.923e-05/0.005069, allocations: 11.98 kB / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.005073, allocations: 0 / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.308e-05/0.005086, allocations: 3.938 kB / 1.005 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.005091, allocations: 8.031 kB / 1.005 GB, free: 8.77 MB / 0.9636 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 4.916e-05/0.00514, allocations: 109.8 kB / 1.005 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.005152, allocations: 7.953 kB / 1.005 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.585e-05/0.005248, allocations: 73.22 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.00525, allocations: 0 / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.005254, allocations: 0 / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.005257, allocations: 0 / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.268e-05/0.005339, allocations: 105.3 kB / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.00534, allocations: 0 / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.604e-05/0.005356, allocations: 8 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.005358, allocations: 4 kB / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.005363, allocations: 3.984 kB / 1.005 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.005365, allocations: 3.938 kB / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.005366, allocations: 128 / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.647e-05/0.005442, allocations: 151.5 kB / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-06/0.00545, allocations: 7.953 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.136e-06/0.005459, allocations: 0 / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.493e-05/0.005483, allocations: 3.938 kB / 1.005 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.399e-05/0.005497, allocations: 4 kB / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.005499, allocations: 0 / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.455e-05/0.005524, allocations: 87.27 kB / 1.005 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005524, allocations: 4 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001618/0.005686, allocations: 15.94 kB / 1.005 GB, free: 8.121 MB / 0.9636 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.0001269/0.005813, allocations: 119.1 kB / 1.006 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.23e-05/0.005885, allocations: 23.92 kB / 1.006 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.005887, allocations: 0 / 1.006 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.171e-05/0.005898, allocations: 12 kB / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.006042, allocations: 5.5 kB / 1.006 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002359/0.006278, allocations: 151 kB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.897e-05/0.006317, allocations: 59.3 kB / 1.006 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.006336, allocations: 16.5 kB / 1.006 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of SimCode: time 4.51e-07/0.006337, allocations: 0 / 1.006 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of Templates: time 0.001514/0.007851, allocations: 0.7231 MB / 1.006 GB, free: 6.965 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.615347859449685]