Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_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.001242/0.001242, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001779/0.003022, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001213/0.001213, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001664/0.002877, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9781/0.9781, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08096/1.059, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.359/2.359, allocations: 447.1 MB / 0.675 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2314/2.59, allocations: 146 MB / 0.8176 GB, free: 3.797 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.InvertingPowerLaw_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 0.819 GB, free: 2.414 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/1.996e-05, allocations: 2.312 kB / 0.819 GB, free: 2.41 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.001776/0.001796, allocations: 1.474 MB / 0.8204 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008587/0.002654, allocations: 0.9653 MB / 0.8214 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.754e-05/0.002682, allocations: 4 kB / 0.8214 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 8.315e-06/0.00269, allocations: 7.938 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.22e-05/0.002723, allocations: 3.938 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.003097, allocations: 258.8 kB / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.754e-05/0.003164, allocations: 39.8 kB / 0.8217 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.127e-05/0.003195, allocations: 3.984 kB / 0.8217 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.482e-05/0.00326, allocations: 31.91 kB / 0.8217 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.23e-05/0.003302, allocations: 11.98 kB / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.003313, allocations: 4 kB / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004524/0.003765, allocations: 427.3 kB / 0.8221 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.003781, allocations: 7.938 kB / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.547e-05/0.003796, allocations: 4 kB / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.004093, allocations: 291.2 kB / 0.8224 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/0.004104, allocations: 7.938 kB / 0.8224 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.21e-07/0.004105, allocations: 0 / 0.8224 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.004117, allocations: 0 / 0.8224 GB, free: 14.86 MB / 0.8073 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.0003655/0.004482, allocations: 335.6 kB / 0.8227 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.641e-05/0.004509, allocations: 8.031 kB / 0.8227 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.004534, allocations: 0.9375 kB / 0.8227 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.298e-05/0.004617, allocations: 122.4 kB / 0.8229 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.004627, allocations: 8.375 kB / 0.8229 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.004637, allocations: 384 / 0.8229 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.43e-05/0.004691, allocations: 30.27 kB / 0.8229 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.004697, allocations: 4.188 kB / 0.8229 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.004703, allocations: 4.125 kB / 0.8229 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.004707, allocations: 0 / 0.8229 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.319e-05/0.004721, allocations: 11.92 kB / 0.8229 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.59e-05/0.004787, allocations: 57.05 kB / 0.823 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.814e-05/0.004825, allocations: 18.61 kB / 0.823 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.111e-05/0.004836, allocations: 4.859 kB / 0.823 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.004852, allocations: 8.062 kB / 0.823 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.004868, allocations: 30.56 kB / 0.823 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 4.8e-07/0.004869, allocations: 0 / 0.823 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 7.813e-05/0.004947, allocations: 45.62 kB / 0.8231 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.004969, allocations: 51.41 kB / 0.8231 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.507e-05/0.005034, allocations: 127.6 kB / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.005041, allocations: 25.7 kB / 0.8233 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/0.005067, allocations: 96.06 kB / 0.8234 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.005081, allocations: 7.891 kB / 0.8234 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.005107, allocations: 29.69 kB / 0.8234 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.061e-05/0.005168, allocations: 314.8 kB / 0.8237 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.005179, allocations: 11.94 kB / 0.8237 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.087e-05/0.00519, allocations: 8.125 kB / 0.8237 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.015e-05/0.00522, allocations: 28.78 kB / 0.8237 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005222, allocations: 0 / 0.8237 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 5.2e-05/0.005274, allocations: 65.62 kB / 0.8238 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.005286, allocations: 4 kB / 0.8238 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.005298, allocations: 0 / 0.8238 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.005307, allocations: 0 / 0.8238 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.005574, allocations: 113.1 kB / 0.8239 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002138/0.005788, allocations: 0.5976 MB / 0.8245 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.573e-05/0.005803, allocations: 8.016 kB / 0.8245 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.005808, allocations: 4.094 kB / 0.8245 GB, free: 12.52 MB / 0.8073 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 4.491e-05/0.005853, allocations: 109.8 kB / 0.8246 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.603e-06/0.00586, allocations: 11.92 kB / 0.8246 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.695e-05/0.005917, allocations: 45.31 kB / 0.8247 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.005918, allocations: 0 / 0.8247 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.005919, allocations: 0 / 0.8247 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.005922, allocations: 0 / 0.8247 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.959e-05/0.005971, allocations: 73.88 kB / 0.8247 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.005972, allocations: 0 / 0.8247 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.006104, allocations: 32 kB / 0.8248 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-06/0.006113, allocations: 15.83 kB / 0.8248 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.006114, allocations: 0 / 0.8248 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-06/0.006119, allocations: 7.922 kB / 0.8248 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001647/0.006283, allocations: 0.586 MB / 0.8254 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.006284, allocations: 0 / 0.8254 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.084e-05/0.006325, allocations: 69 kB / 0.8254 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.264e-06/0.006332, allocations: 0 / 0.8254 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.534e-06/0.00634, allocations: 4.094 kB / 0.8254 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-06/0.006349, allocations: 4 kB / 0.8254 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.006351, allocations: 0 / 0.8254 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.605e-05/0.006367, allocations: 24.2 kB / 0.8255 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006367, allocations: 0 / 0.8255 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001326/0.0065, allocations: 51.8 kB / 0.8255 GB, free: 11.42 MB / 0.8073 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.0001518/0.006652, allocations: 140.2 kB / 0.8256 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.992e-05/0.006752, allocations: 54.55 kB / 0.8257 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.006755, allocations: 0 / 0.8257 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.987e-05/0.006785, allocations: 24.84 kB / 0.8257 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001105/0.006896, allocations: 74.31 kB / 0.8258 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.007267, allocations: 136.4 kB / 0.8259 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.263e-05/0.00729, allocations: 59.3 kB / 0.826 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.913e-05/0.007309, allocations: 4 kB / 0.826 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.00735, allocations: 67.45 kB / 0.8261 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of SimCode: time 5.41e-07/0.00735, allocations: 0 / 0.8261 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of Templates: time 0.002566/0.009916, allocations: 1.467 MB / 0.8275 GB, free: 9.332 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.101308882236481]