Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_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.002258/0.002258, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001277/0.003535, allocations: 440 kB / 10.41 MB, free: 280 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.0007372/0.0007372, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000992/0.001729, 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.9291/0.9291, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0924/1.021, 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.301/2.301, allocations: 447.1 MB / 0.675 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2175/2.519, allocations: 146 MB / 0.8176 GB, free: 3.801 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_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_dp_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_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_dp_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 3.984 kB / 0.819 GB, free: 2.418 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.893e-05, allocations: 2.312 kB / 0.819 GB, free: 2.414 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv): time 0.002472/0.002491, allocations: 1.461 MB / 0.8204 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.003771, allocations: 0.9809 MB / 0.8214 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.003802, allocations: 0 / 0.8214 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.119e-05/0.003813, allocations: 3.938 kB / 0.8214 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.88e-05/0.003852, allocations: 7.922 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005672/0.004419, allocations: 262.8 kB / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.846e-05/0.004508, allocations: 35.8 kB / 0.8217 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.563e-05/0.004544, allocations: 4 kB / 0.8217 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.445e-05/0.004618, allocations: 27.84 kB / 0.8217 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.516e-05/0.004663, allocations: 7.938 kB / 0.8217 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.004676, allocations: 4 kB / 0.8217 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007833/0.00546, allocations: 0.5148 MB / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.005478, allocations: 7.938 kB / 0.8222 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.005497, allocations: 4 kB / 0.8222 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004296/0.005926, allocations: 299.2 kB / 0.8225 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.249e-05/0.005939, allocations: 0 / 0.8225 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.31e-07/0.005939, allocations: 0 / 0.8225 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.005954, allocations: 0 / 0.8225 GB, free: 14.78 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.0004563/0.006411, allocations: 339.6 kB / 0.8228 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.006444, allocations: 8.031 kB / 0.8228 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.006477, allocations: 0.9375 kB / 0.8228 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.006579, allocations: 116.5 kB / 0.823 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.00659, allocations: 384 / 0.823 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.006602, allocations: 4.312 kB / 0.823 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.317e-05/0.006675, allocations: 38.25 kB / 0.823 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.006682, allocations: 4.188 kB / 0.823 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.006689, allocations: 4.125 kB / 0.823 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.006695, allocations: 0 / 0.823 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.646e-05/0.006712, allocations: 7.938 kB / 0.823 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.844e-05/0.0068, allocations: 57.05 kB / 0.8231 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.691e-05/0.006847, allocations: 22.59 kB / 0.8231 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.278e-05/0.00686, allocations: 4.859 kB / 0.8231 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.006877, allocations: 4.062 kB / 0.8231 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.006898, allocations: 30.56 kB / 0.8231 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.006898, allocations: 4 kB / 0.8231 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001029/0.007001, allocations: 41.64 kB / 0.8232 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.007031, allocations: 55.39 kB / 0.8232 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.149e-05/0.007122, allocations: 130.5 kB / 0.8233 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.007136, allocations: 25.7 kB / 0.8234 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.007173, allocations: 96.06 kB / 0.8235 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.00719, allocations: 3.953 kB / 0.8235 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.007229, allocations: 25.7 kB / 0.8235 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.453e-05/0.007313, allocations: 318.8 kB / 0.8238 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.968e-05/0.007333, allocations: 8 kB / 0.8238 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.399e-05/0.007347, allocations: 8.125 kB / 0.8238 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.188e-05/0.007389, allocations: 32.83 kB / 0.8238 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.007391, allocations: 3.938 kB / 0.8238 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 7.567e-05/0.007466, allocations: 57.62 kB / 0.8239 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.007479, allocations: 8 kB / 0.8239 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.007493, allocations: 0 / 0.8239 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.007505, allocations: 0 / 0.8239 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.007646, allocations: 12 kB / 0.8239 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003011/0.007947, allocations: 0.5976 MB / 0.8245 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.422e-05/0.007971, allocations: 7.953 kB / 0.8245 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.007978, allocations: 8 kB / 0.8245 GB, free: 12.55 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.772e-05/0.008036, allocations: 109.8 kB / 0.8246 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-06/0.008044, allocations: 3.938 kB / 0.8246 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.622e-05/0.00812, allocations: 41.31 kB / 0.8247 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.008122, allocations: 0 / 0.8247 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.008123, allocations: 4 kB / 0.8247 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.008125, allocations: 0 / 0.8247 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.608e-05/0.008192, allocations: 73.88 kB / 0.8247 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.008195, allocations: 8 kB / 0.8247 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.35e-05/0.008269, allocations: 12.03 kB / 0.8248 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.008279, allocations: 8.031 kB / 0.8248 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.008282, allocations: 3.984 kB / 0.8248 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.008289, allocations: 11.88 kB / 0.8248 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003649/0.008653, allocations: 0.5821 MB / 0.8253 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.008654, allocations: 0 / 0.8253 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.364e-05/0.008708, allocations: 61.06 kB / 0.8254 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.008718, allocations: 0 / 0.8254 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.782e-05/0.008736, allocations: 12.03 kB / 0.8254 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.738e-06/0.008746, allocations: 4 kB / 0.8254 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.008748, allocations: 0 / 0.8254 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.239e-05/0.008771, allocations: 20.83 kB / 0.8254 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.008771, allocations: 0 / 0.8254 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002255/0.008996, allocations: 51.8 kB / 0.8255 GB, free: 11.47 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.0002153/0.009212, allocations: 140.1 kB / 0.8256 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001326/0.009344, allocations: 58.55 kB / 0.8257 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.00935, allocations: 4 kB / 0.8257 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.888e-05/0.009388, allocations: 20.84 kB / 0.8257 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.009533, allocations: 65.92 kB / 0.8258 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/0.01002, allocations: 138.8 kB / 0.8259 GB, free: 11 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.364e-05/0.01005, allocations: 59.3 kB / 0.826 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.684e-05/0.01008, allocations: 4 kB / 0.826 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.01013, allocations: 59.45 kB / 0.826 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of SimCode: time 5.31e-07/0.01013, allocations: 0 / 0.826 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of Templates: time 0.003502/0.01363, allocations: 1.467 MB / 0.8275 GB, free: 9.402 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_inv/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_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: 5.107015093788505]