Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.0008647/0.0008647, allocations: 80.53 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.0009899/0.0009899, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8441/0.8441, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.708/1.708, allocations: 389 MB / 0.6338 GB, free: 12.7 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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.189e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001497/0.001519, allocations: 1.271 MB / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006621/0.002181, allocations: 0.526 MB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.482e-05/0.002206, allocations: 0 / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.797e-05/0.002224, allocations: 0 / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.902e-05/0.002263, allocations: 4 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.002653, allocations: 139.3 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.938e-05/0.002702, allocations: 7.938 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.002745, allocations: 7.984 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.098e-05/0.002776, allocations: 15.92 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.88e-05/0.002815, allocations: 0 / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.002827, allocations: 0 / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.003105, allocations: 267.4 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.003117, allocations: 4 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.502e-05/0.003132, allocations: 4 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.003322, allocations: 155.5 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003324, allocations: 0 / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.92e-07/0.003325, allocations: 0 / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.309e-06/0.00333, allocations: 0 / 1.003 GB, free: 10.61 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005658/0.003895, allocations: 270 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.003934, allocations: 8.75 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.003962, allocations: 4.938 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.918e-05/0.004042, allocations: 109.8 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.004053, allocations: 384 / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.004061, allocations: 12.38 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.901e-05/0.00414, allocations: 30.25 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.004148, allocations: 4.188 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.004156, allocations: 384 / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.00416, allocations: 384 / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.334e-05/0.004184, allocations: 11.88 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001061/0.00429, allocations: 97.33 kB / 1.004 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.394e-05/0.004334, allocations: 22.61 kB / 1.004 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.667e-05/0.00435, allocations: 12.84 kB / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.00437, allocations: 4 kB / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.004389, allocations: 34.62 kB / 1.004 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 6.02e-07/0.00439, allocations: 0 / 1.004 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001208/0.00451, allocations: 41.64 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.004537, allocations: 51.41 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.135e-05/0.004589, allocations: 105.7 kB / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.004598, allocations: 25.7 kB / 1.004 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.133e-05/0.004619, allocations: 80.14 kB / 1.004 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.004645, allocations: 11.89 kB / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.081e-05/0.004665, allocations: 13.97 kB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.695e-05/0.004742, allocations: 318.8 kB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.769e-06/0.004752, allocations: 0 / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.967e-06/0.004761, allocations: 7.984 kB / 1.004 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.524e-05/0.004786, allocations: 12.86 kB / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.004788, allocations: 0 / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.821e-05/0.004826, allocations: 37.64 kB / 1.005 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.00484, allocations: 4 kB / 1.005 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.004845, allocations: 4 kB / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.004856, allocations: 0 / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.004984, allocations: 16.08 kB / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002456/0.00523, allocations: 0.586 MB / 1.005 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.175e-05/0.005242, allocations: 0 / 1.005 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.005246, allocations: 0 / 1.005 GB, free: 8.496 MB / 0.9636 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 5.398e-05/0.0053, allocations: 113.8 kB / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-06/0.005306, allocations: 3.938 kB / 1.005 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.713e-05/0.005383, allocations: 45 kB / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.005384, allocations: 128 / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.005388, allocations: 4 kB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.005391, allocations: 0 / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.084e-05/0.005441, allocations: 105.3 kB / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.005442, allocations: 0 / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.882e-05/0.005491, allocations: 15.98 kB / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.005493, allocations: 0 / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.0055, allocations: 7.938 kB / 1.005 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000179/0.005679, allocations: 0.586 MB / 1.006 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.00568, allocations: 0 / 1.006 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.351e-05/0.005723, allocations: 69.2 kB / 1.006 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.752e-06/0.00573, allocations: 3.984 kB / 1.006 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-06/0.005739, allocations: 4 kB / 1.006 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-06/0.005746, allocations: 0 / 1.006 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.005758, allocations: 0 / 1.006 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.00576, allocations: 4 kB / 1.006 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.583e-05/0.005786, allocations: 75.28 kB / 1.006 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005786, allocations: 0 / 1.006 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001317/0.005917, allocations: 15.88 kB / 1.006 GB, free: 7.359 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 (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.0001216/0.006039, allocations: 119.2 kB / 1.006 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.006154, allocations: 23.98 kB / 1.006 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.006156, allocations: 3.938 kB / 1.006 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.117e-05/0.006187, allocations: 11.98 kB / 1.006 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001048/0.006292, allocations: 7.938 kB / 1.006 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.006547, allocations: 122.5 kB / 1.006 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.618e-05/0.006583, allocations: 67.41 kB / 1.006 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.396e-05/0.006597, allocations: 12.5 kB / 1.006 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of SimCode: time 5.11e-07/0.006598, allocations: 0 / 1.006 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of Templates: time 0.001619/0.008217, allocations: 0.7117 MB / 1.007 GB, free: 6.23 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.592026901431382]