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.001386/0.001386, allocations: 80.28 kB / 19.18 MB, free: 2.527 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.001546/0.001546, allocations: 163.8 kB / 22.46 MB, free: 5.355 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.447/1.447, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 2.89/2.89, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] 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.623e-06/1.623e-06, allocations: 0 / 1 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.759e-05/2.921e-05, allocations: 2.281 kB / 1 GB, free: 6.199 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002629/0.002658, allocations: 1.314 MB / 1.001 GB, free: 4.879 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.003691, allocations: 0.5176 MB / 1.002 GB, free: 4.359 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.003725, allocations: 0 / 1.002 GB, free: 4.359 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.192e-05/0.003747, allocations: 0 / 1.002 GB, free: 4.359 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.419e-05/0.003791, allocations: 11.92 kB / 1.002 GB, free: 4.348 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006214/0.004413, allocations: 139.3 kB / 1.002 GB, free: 4.211 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.569e-05/0.004498, allocations: 27.86 kB / 1.002 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.274e-05/0.004551, allocations: 7.984 kB / 1.002 GB, free: 4.176 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.997e-05/0.004591, allocations: 15.98 kB / 1.002 GB, free: 4.16 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.276e-05/0.004644, allocations: 4 kB / 1.002 GB, free: 4.156 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.004663, allocations: 4 kB / 1.002 GB, free: 4.152 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004893/0.005152, allocations: 267.4 kB / 1.002 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.005172, allocations: 4 kB / 1.002 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.005198, allocations: 7.938 kB / 1.002 GB, free: 3.879 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.005534, allocations: 151.6 kB / 1.003 GB, free: 3.73 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.005536, allocations: 0 / 1.003 GB, free: 3.73 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.91e-07/0.005537, allocations: 0 / 1.003 GB, free: 3.73 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.005547, allocations: 3.938 kB / 1.003 GB, free: 3.727 MB / 0.9044 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.0005953/0.006142, allocations: 290 kB / 1.003 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/0.006202, allocations: 12.03 kB / 1.003 GB, free: 3.398 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.623e-05/0.006248, allocations: 0.9375 kB / 1.003 GB, free: 3.398 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.006422, allocations: 113.7 kB / 1.003 GB, free: 3.262 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.006437, allocations: 4.375 kB / 1.003 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.006455, allocations: 384 / 1.003 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.006613, allocations: 42.25 kB / 1.003 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.006627, allocations: 192 / 1.003 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.006641, allocations: 384 / 1.003 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.006647, allocations: 384 / 1.003 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.665e-05/0.006714, allocations: 27.86 kB / 1.003 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004618/0.007175, allocations: 200.5 kB / 1.003 GB, free: 2.957 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.007459, allocations: 46.61 kB / 1.003 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.422e-05/0.007503, allocations: 12.92 kB / 1.003 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.007531, allocations: 0 / 1.003 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.007575, allocations: 38.56 kB / 1.003 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.007576, allocations: 0 / 1.003 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0002795/0.007855, allocations: 57.56 kB / 1.003 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.007918, allocations: 59.41 kB / 1.003 GB, free: 2.707 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.008037, allocations: 98.17 kB / 1.003 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.008062, allocations: 29.7 kB / 1.004 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/0.008135, allocations: 84.09 kB / 1.004 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.008155, allocations: 11.91 kB / 1.004 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.008216, allocations: 17.72 kB / 1.004 GB, free: 2.445 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.008381, allocations: 318.8 kB / 1.004 GB, free: 2.125 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.548e-05/0.008407, allocations: 8 kB / 1.004 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.442e-05/0.008461, allocations: 21.72 kB / 1.004 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.056e-05/0.008532, allocations: 37.67 kB / 1.004 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.008534, allocations: 0 / 1.004 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001204/0.008654, allocations: 57.69 kB / 1.004 GB, free: 1.984 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.008674, allocations: 4 kB / 1.004 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.008686, allocations: 11.88 kB / 1.004 GB, free: 1.969 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.008708, allocations: 0 / 1.004 GB, free: 1.969 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.441e-05/0.008762, allocations: 11.94 kB / 1.004 GB, free: 1.957 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.008769, allocations: 0 / 1.004 GB, free: 1.957 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.243e-05/0.008802, allocations: 7.938 kB / 1.004 GB, free: 1.949 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.008811, allocations: 4 kB / 1.004 GB, free: 1.945 MB / 0.9044 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.0001147/0.008926, allocations: 110.4 kB / 1.004 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.008958, allocations: 3.953 kB / 1.004 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.009134, allocations: 69.34 kB / 1.004 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.009136, allocations: 0 / 1.004 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.009143, allocations: 4 kB / 1.004 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.009146, allocations: 0 / 1.004 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.009302, allocations: 101.3 kB / 1.004 GB, free: 1.609 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.009303, allocations: 3.938 kB / 1.004 GB, free: 1.605 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.00934, allocations: 4 kB / 1.004 GB, free: 1.602 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.009342, allocations: 4 kB / 1.004 GB, free: 1.598 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.009354, allocations: 4 kB / 1.004 GB, free: 1.594 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.009358, allocations: 3.938 kB / 1.004 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.009359, allocations: 4 kB / 1.004 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.009518, allocations: 139.5 kB / 1.005 GB, free: 1.434 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 1.784e-05/0.009536, allocations: 11.94 kB / 1.005 GB, free: 1.422 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.009551, allocations: 7.938 kB / 1.005 GB, free: 1.414 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.253e-05/0.009604, allocations: 3.938 kB / 1.005 GB, free: 1.41 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.009626, allocations: 0 / 1.005 GB, free: 1.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.009632, allocations: 4.125 kB / 1.005 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.994e-05/0.009682, allocations: 75.28 kB / 1.005 GB, free: 1.332 MB / 0.9044 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009682, allocations: 0 / 1.005 GB, free: 1.332 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002612/0.009943, allocations: 23.92 kB / 1.005 GB, free: 1.309 MB / 0.9044 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.0002145/0.01016, allocations: 131 kB / 1.005 GB, free: 1.172 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.01027, allocations: 23.98 kB / 1.005 GB, free: 1.148 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.01028, allocations: 0 / 1.005 GB, free: 1.148 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.356e-05/0.0103, allocations: 11.94 kB / 1.005 GB, free: 1.137 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.01052, allocations: 4 kB / 1.005 GB, free: 1.133 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.01087, allocations: 113.2 kB / 1.005 GB, free: 0.9961 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.719e-05/0.01095, allocations: 71.22 kB / 1.005 GB, free: 0.9062 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.751e-05/0.01098, allocations: 12.22 kB / 1.005 GB, free: 0.8945 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.01101, allocations: 8.5 kB / 1.005 GB, free: 0.8867 MB / 0.9044 GB Notification: Performance of SimCode: time 4.01e-07/0.01101, allocations: 0 / 1.005 GB, free: 0.8867 MB / 0.9044 GB Notification: Performance of Templates: time 0.003198/0.01421, allocations: 0.5125 MB / 1.005 GB, free: 392 kB / 0.9044 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: 7.950297296047211]