Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.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.0007629/0.0007629, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001112/0.001875, 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.0006792/0.0006792, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009935/0.001673, 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.9538/0.9538, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1077/1.061, 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.41/2.41, allocations: 447.1 MB / 0.675 GB, free: 5.871 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2315/2.642, 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.InversePowerLaws,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow.[0-9,]+.|m_flow_nominal|dp|dpCalc.[0-9,]+.|deltaDp.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow.[0-9,]+.|m_flow_nominal|dp|dpCalc.[0-9,]+.|deltaDp.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.819 GB, free: 2.402 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.543e-05, allocations: 4.844 kB / 0.819 GB, free: 2.398 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws): time 0.002341/0.002357, allocations: 1.497 MB / 0.8205 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002516/0.004872, allocations: 1.756 MB / 0.8222 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.004907, allocations: 0 / 0.8222 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.659e-05/0.004934, allocations: 7.922 kB / 0.8222 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.885e-05/0.005013, allocations: 23.78 kB / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009898/0.006003, allocations: 489.8 kB / 0.8227 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.006227, allocations: 191.6 kB / 0.8228 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.359e-05/0.006261, allocations: 11.98 kB / 0.8229 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.006375, allocations: 75.88 kB / 0.8229 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.006501, allocations: 75.84 kB / 0.823 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.006526, allocations: 8 kB / 0.823 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.007704, allocations: 0.7956 MB / 0.8238 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.887e-05/0.007773, allocations: 43.92 kB / 0.8238 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.068e-05/0.007823, allocations: 31.88 kB / 0.8239 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0007499/0.008573, allocations: 0.596 MB / 0.8244 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 9.919e-06/0.008583, allocations: 0 / 0.8244 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.72e-07/0.008584, allocations: 0 / 0.8244 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.008593, allocations: 0 / 0.8244 GB, free: 12.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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004348/0.009027, allocations: 0.4983 MB / 0.8249 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.331e-05/0.009051, allocations: 8.031 kB / 0.8249 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/0.00908, allocations: 16.92 kB / 0.825 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.976e-05/0.00916, allocations: 127.6 kB / 0.8251 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.00917, allocations: 4.375 kB / 0.8251 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.009183, allocations: 4.375 kB / 0.8251 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.858e-05/0.009272, allocations: 68.72 kB / 0.8252 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-06/0.009277, allocations: 4 kB / 0.8252 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.009284, allocations: 0 / 0.8252 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.00929, allocations: 0 / 0.8252 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.545e-05/0.009345, allocations: 23.97 kB / 0.8252 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.009584, allocations: 233.8 kB / 0.8254 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.0097, allocations: 112 kB / 0.8255 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.568e-05/0.009736, allocations: 24.84 kB / 0.8255 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.009758, allocations: 11.98 kB / 0.8255 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.009776, allocations: 34.5 kB / 0.8256 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 7.61e-07/0.009777, allocations: 0 / 0.8256 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0001318/0.009909, allocations: 73.59 kB / 0.8256 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.009936, allocations: 59.41 kB / 0.8257 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.981e-05/0.01004, allocations: 183.2 kB / 0.8259 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.01005, allocations: 29.7 kB / 0.8259 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.2e-05/0.01009, allocations: 108.5 kB / 0.826 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.01011, allocations: 39.61 kB / 0.826 GB, free: 11 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/0.01016, allocations: 53.66 kB / 0.8261 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.122e-05/0.01025, allocations: 330.8 kB / 0.8264 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.291e-05/0.01029, allocations: 34.83 kB / 0.8264 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.498e-05/0.01034, allocations: 61.62 kB / 0.8265 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.01046, allocations: 129.8 kB / 0.8266 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01046, allocations: 0 / 0.8266 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001467/0.01061, allocations: 156.1 kB / 0.8268 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.01062, allocations: 12.02 kB / 0.8268 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.01063, allocations: 4 kB / 0.8268 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.715e-06/0.01064, allocations: 112 / 0.8268 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.266e-05/0.01071, allocations: 27.92 kB / 0.8268 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.01072, allocations: 0 / 0.8268 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.375e-05/0.01075, allocations: 27.73 kB / 0.8268 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.01076, allocations: 8 kB / 0.8269 GB, free: 10.14 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.845e-05/0.01082, allocations: 120.6 kB / 0.827 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.01084, allocations: 7.938 kB / 0.827 GB, free: 10 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.01099, allocations: 111 kB / 0.8271 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.01099, allocations: 4 kB / 0.8271 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.011, allocations: 0 / 0.8271 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.011, allocations: 0 / 0.8271 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.0111, allocations: 101.8 kB / 0.8272 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.0111, allocations: 0 / 0.8272 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.836e-05/0.01115, allocations: 23.98 kB / 0.8272 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.01116, allocations: 11.91 kB / 0.8272 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.01116, allocations: 3.938 kB / 0.8272 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.01117, allocations: 4 kB / 0.8272 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.01117, allocations: 0 / 0.8272 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01117, allocations: 0 / 0.8272 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/0.01155, allocations: 210.2 kB / 0.8274 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.01157, allocations: 3.984 kB / 0.8274 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.192e-05/0.0116, allocations: 3.938 kB / 0.8274 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.01161, allocations: 4 kB / 0.8274 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.01162, allocations: 7.984 kB / 0.8274 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.233e-05/0.01165, allocations: 50.7 kB / 0.8275 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01165, allocations: 0 / 0.8275 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002023/0.01186, allocations: 107.7 kB / 0.8276 GB, free: 9.32 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001926/0.01205, allocations: 180 kB / 0.8278 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001537/0.0122, allocations: 182.5 kB / 0.8279 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.01221, allocations: 0 / 0.8279 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.867e-05/0.01225, allocations: 28.84 kB / 0.828 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.01244, allocations: 111.3 kB / 0.8281 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005235/0.01296, allocations: 249.7 kB / 0.8283 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.416e-05/0.01301, allocations: 79.27 kB / 0.8284 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.948e-05/0.01307, allocations: 32.56 kB / 0.8284 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.56e-05/0.01316, allocations: 63.38 kB / 0.8285 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of SimCode: time 8.92e-07/0.01317, allocations: 4 kB / 0.8285 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of Templates: time 0.004275/0.01744, allocations: 3.046 MB / 0.8315 GB, free: 5.285 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.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.114594466052949]