Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.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.001085/0.001085, allocations: 77.06 kB / 9.98 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001854/0.00294, allocations: 444 kB / 10.41 MB, free: 276 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.001131/0.001131, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001511/0.002642, allocations: 475.6 kB / 11.79 MB, free: 2.371 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.9509/0.9509, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0784/1.029, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.3/2.3, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2274/2.528, allocations: 146 MB / 0.8176 GB, free: 3.824 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_m_flow_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.819 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.728e-05/2.959e-05, allocations: 2.312 kB / 0.819 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv): time 0.003023/0.003053, allocations: 1.478 MB / 0.8204 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.004471, allocations: 0.9575 MB / 0.8214 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.271e-05/0.004504, allocations: 0 / 0.8214 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.004516, allocations: 3.938 kB / 0.8214 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.255e-05/0.004559, allocations: 7.922 kB / 0.8214 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007266/0.005285, allocations: 254.8 kB / 0.8216 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.666e-05/0.005382, allocations: 43.78 kB / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.858e-05/0.00542, allocations: 4 kB / 0.8217 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.606e-05/0.005507, allocations: 31.91 kB / 0.8217 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.001e-05/0.005557, allocations: 8 kB / 0.8217 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.005571, allocations: 4 kB / 0.8217 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008695/0.006441, allocations: 0.5148 MB / 0.8222 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.006463, allocations: 4 kB / 0.8222 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.00649, allocations: 11.94 kB / 0.8222 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0006527/0.007143, allocations: 287.1 kB / 0.8225 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.486e-05/0.007158, allocations: 0 / 0.8225 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.202e-06/0.007159, allocations: 0 / 0.8225 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.627e-05/0.007175, allocations: 3.938 kB / 0.8225 GB, free: 14.82 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.0005047/0.00768, allocations: 343.6 kB / 0.8228 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.007714, allocations: 12.03 kB / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.007748, allocations: 0.9375 kB / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.007857, allocations: 118.6 kB / 0.8229 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.007871, allocations: 4.375 kB / 0.8229 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.007882, allocations: 384 / 0.8229 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.736e-05/0.00795, allocations: 34.27 kB / 0.823 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.007956, allocations: 192 / 0.823 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.007964, allocations: 4.125 kB / 0.823 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.007971, allocations: 0 / 0.823 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.489e-05/0.007986, allocations: 7.938 kB / 0.823 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.55e-05/0.008081, allocations: 68.97 kB / 0.8231 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.018e-05/0.008131, allocations: 18.61 kB / 0.8231 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.47e-05/0.008146, allocations: 4.859 kB / 0.8231 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.008163, allocations: 4.062 kB / 0.8231 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.008185, allocations: 30.56 kB / 0.8231 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.008185, allocations: 0 / 0.8231 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001028/0.008288, allocations: 41.62 kB / 0.8232 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.008319, allocations: 55.41 kB / 0.8232 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.054e-05/0.00841, allocations: 127.7 kB / 0.8233 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.008421, allocations: 29.83 kB / 0.8234 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.008455, allocations: 96.06 kB / 0.8234 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.008473, allocations: 3.953 kB / 0.8235 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.008512, allocations: 25.69 kB / 0.8235 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.008603, allocations: 318.8 kB / 0.8238 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.008622, allocations: 8 kB / 0.8238 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.654e-05/0.008638, allocations: 7.938 kB / 0.8238 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.305e-05/0.008681, allocations: 28.78 kB / 0.8238 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.008683, allocations: 0 / 0.8238 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.175e-05/0.008765, allocations: 57.62 kB / 0.8239 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.008779, allocations: 8 kB / 0.8239 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.008794, allocations: 4 kB / 0.8239 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.008807, allocations: 0 / 0.8239 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.009027, allocations: 11.98 kB / 0.8239 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002649/0.009291, allocations: 0.5937 MB / 0.8245 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.082e-05/0.009312, allocations: 7.891 kB / 0.8245 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.009322, allocations: 8 kB / 0.8245 GB, free: 12.59 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 5.566e-05/0.009377, allocations: 109.8 kB / 0.8246 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-06/0.009384, allocations: 3.938 kB / 0.8246 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.324e-05/0.009457, allocations: 49.36 kB / 0.8247 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.009459, allocations: 0 / 0.8247 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.00946, allocations: 4 kB / 0.8247 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.009463, allocations: 3.984 kB / 0.8247 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.66e-05/0.00952, allocations: 69.89 kB / 0.8247 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.009522, allocations: 4 kB / 0.8247 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.259e-05/0.009585, allocations: 11.98 kB / 0.8247 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-06/0.009593, allocations: 3.953 kB / 0.8247 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.009596, allocations: 0 / 0.8247 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.0096, allocations: 11.88 kB / 0.8248 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001843/0.009785, allocations: 0.5899 MB / 0.8253 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.009786, allocations: 0 / 0.8253 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.353e-05/0.009829, allocations: 61.06 kB / 0.8254 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.464e-06/0.009837, allocations: 96 / 0.8254 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.017e-06/0.009846, allocations: 4 kB / 0.8254 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.009858, allocations: 11.92 kB / 0.8254 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-06/0.009862, allocations: 3.984 kB / 0.8254 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.82e-05/0.00989, allocations: 16.11 kB / 0.8254 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.00989, allocations: 0 / 0.8254 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001631/0.01005, allocations: 51.89 kB / 0.8255 GB, free: 11.51 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.0002128/0.01027, allocations: 144.2 kB / 0.8256 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.01039, allocations: 62.55 kB / 0.8257 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.01039, allocations: 0 / 0.8257 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.769e-05/0.01042, allocations: 16.84 kB / 0.8257 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.01056, allocations: 71.38 kB / 0.8258 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004687/0.01103, allocations: 128.7 kB / 0.8259 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.908e-05/0.01106, allocations: 59.34 kB / 0.8259 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.474e-05/0.01108, allocations: 7.938 kB / 0.8259 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.61e-05/0.01113, allocations: 59.31 kB / 0.826 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of SimCode: time 6.11e-07/0.01113, allocations: 0 / 0.826 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of Templates: time 0.002876/0.014, allocations: 1.486 MB / 0.8274 GB, free: 9.418 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_inv.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: 4.977125881239772]