Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001605/0.001605, allocations: 113 kB / 17.6 MB, free: 4.684 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.001636/0.001636, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.497/1.497, allocations: 225.6 MB / 249.4 MB, free: 3.012 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.613/2.613, allocations: 443.4 MB / 0.7304 GB, free: 14.04 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 67.89 kB / 1.059 GB, free: 424 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3419, allocations: 160.7 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002664/0.3446, allocations: 1.269 MB / 1.217 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.3457, allocations: 0.5926 MB / 1.218 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.507e-05/0.3457, allocations: 0 / 1.218 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.187e-05/0.3458, allocations: 4 kB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.977e-05/0.3458, allocations: 0 / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006403/0.3464, allocations: 139.4 kB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.476e-05/0.3465, allocations: 15.88 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.626e-05/0.3465, allocations: 3.984 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.955e-05/0.3466, allocations: 4 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.38e-05/0.3466, allocations: 7.984 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.3466, allocations: 0 / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000547/0.3472, allocations: 343.3 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.3472, allocations: 0 / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.3472, allocations: 7.938 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.3475, allocations: 143.6 kB / 1.219 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3475, allocations: 0 / 1.219 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3475, allocations: 0 / 1.219 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.3475, allocations: 0 / 1.219 GB, free: 12.85 MB / 0.9669 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.0005435/0.3481, allocations: 363 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.3481, allocations: 8.031 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.3481, allocations: 0.9375 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.3483, allocations: 168.4 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.3483, allocations: 4.312 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.3484, allocations: 384 / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.3485, allocations: 30.27 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3485, allocations: 192 / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.3485, allocations: 3.938 kB / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3485, allocations: 0 / 1.219 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.625e-05/0.3485, allocations: 15.92 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.3487, allocations: 149.7 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.859e-05/0.3488, allocations: 26.56 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.887e-05/0.3488, allocations: 4.859 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.3488, allocations: 4.062 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.3489, allocations: 30.56 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3489, allocations: 0 / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001536/0.349, allocations: 49.67 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.3491, allocations: 51.41 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.515e-05/0.3492, allocations: 97.84 kB / 1.22 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.3492, allocations: 25.7 kB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.3492, allocations: 84.14 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.3492, allocations: 7.953 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.3493, allocations: 9.719 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3494, allocations: 311 kB / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.3494, allocations: 12 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.969e-06/0.3494, allocations: 3.984 kB / 1.22 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.239e-05/0.3495, allocations: 12.86 kB / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3495, allocations: 0 / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.785e-05/0.3495, allocations: 45.59 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3495, allocations: 7.938 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3495, allocations: 3.938 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.3496, allocations: 0 / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.3497, allocations: 16.08 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004435/0.3502, allocations: 0.5822 MB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.3502, allocations: 0 / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.3502, allocations: 0 / 1.221 GB, free: 10.5 MB / 0.9669 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 8.803e-05/0.3503, allocations: 109.8 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.3503, allocations: 8 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.3504, allocations: 56.83 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3504, allocations: 0 / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3504, allocations: 0 / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3504, allocations: 0 / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.3505, allocations: 157.5 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3505, allocations: 0 / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.588e-05/0.3506, allocations: 11.98 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.3506, allocations: 7.938 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.3506, allocations: 0 / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003763/0.351, allocations: 0.5899 MB / 1.222 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.351, allocations: 3.938 kB / 1.222 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.957e-05/0.3511, allocations: 65.16 kB / 1.222 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.3511, allocations: 77.11 kB / 1.222 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.3511, allocations: 4 kB / 1.222 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.38e-05/0.3512, allocations: 4.125 kB / 1.222 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.3512, allocations: 3.938 kB / 1.222 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.3512, allocations: 4 kB / 1.222 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.214e-05/0.3512, allocations: 75.28 kB / 1.222 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.3512, allocations: 0 / 1.222 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001959/0.3514, allocations: 11.98 kB / 1.222 GB, free: 9.199 MB / 0.9669 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.0001919/0.3516, allocations: 107.2 kB / 1.222 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001807/0.3518, allocations: 28.02 kB / 1.222 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3518, allocations: 0 / 1.222 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.988e-05/0.3519, allocations: 15.98 kB / 1.222 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.352, allocations: 5.969 kB / 1.222 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.3524, allocations: 110 kB / 1.222 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.3527, allocations: 0.6808 MB / 1.223 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.461e-05/0.3527, allocations: 0 / 1.223 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.701e-05/0.3527, allocations: 11.38 kB / 1.223 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.3527, allocations: 0 / 1.223 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of Templates: time 0.002903/0.3556, allocations: 462.6 kB / 1.223 GB, free: 7.742 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.359222716651857]