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.002035/0.002035, allocations: 82.47 kB / 19.29 MB, free: 2.207 MB / 14.72 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.002636/0.002636, allocations: 166.6 kB / 22.58 MB, free: 4.914 MB / 14.72 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 1.512/1.512, allocations: 177.1 MB / 202.9 MB, free: 9.094 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.974/2.974, allocations: 390.1 MB / 0.6342 GB, free: 15.89 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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|m_flow_nominal|dp|dpCalc|deltaDp",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|m_flow_nominal|dp|dpCalc|deltaDp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 1.002 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.53e-05, allocations: 5.688 kB / 1.002 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws): time 0.002563/0.002588, allocations: 1.394 MB / 1.004 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.004022, allocations: 0.8442 MB / 1.004 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.004064, allocations: 0 / 1.004 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.534e-05/0.00409, allocations: 3.984 kB / 1.004 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.013e-05/0.00418, allocations: 19.8 kB / 1.004 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007584/0.004938, allocations: 223 kB / 1.005 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.005054, allocations: 55.72 kB / 1.005 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.005096, allocations: 7.984 kB / 1.005 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.656e-05/0.005163, allocations: 27.91 kB / 1.005 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.451e-05/0.005227, allocations: 19.98 kB / 1.005 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.005247, allocations: 7.984 kB / 1.005 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006483/0.005895, allocations: 375.4 kB / 1.005 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.262e-05/0.005918, allocations: 8 kB / 1.005 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.005953, allocations: 19.92 kB / 1.005 GB, free: 2.152 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005009/0.006454, allocations: 311.1 kB / 1.005 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.006456, allocations: 0 / 1.005 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.91e-07/0.006457, allocations: 0 / 1.005 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.006461, allocations: 0 / 1.005 GB, free: 1.848 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005541/0.007016, allocations: 349.3 kB / 1.006 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.007055, allocations: 11.98 kB / 1.006 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003967/0.007452, allocations: 44.77 kB / 1.006 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.007589, allocations: 105.8 kB / 1.006 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.007609, allocations: 8.375 kB / 1.006 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.007622, allocations: 4.375 kB / 1.006 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.007833, allocations: 62.22 kB / 1.006 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.007843, allocations: 192 / 1.006 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.007855, allocations: 384 / 1.006 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.007859, allocations: 4.375 kB / 1.006 GB, free: 1.207 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/0.00809, allocations: 51.83 kB / 1.006 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.008519, allocations: 220.5 kB / 1.006 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.009721, allocations: 138.5 kB / 1.006 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.009864, allocations: 32.81 kB / 1.006 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.009893, allocations: 4 kB / 1.006 GB, free: 0.7266 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.009928, allocations: 30.56 kB / 1.006 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.009929, allocations: 0 / 1.006 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0005397/0.01047, allocations: 113.5 kB / 1.007 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.01054, allocations: 51.41 kB / 1.007 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.0107, allocations: 138.9 kB / 1.007 GB, free: 372 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.01072, allocations: 25.7 kB / 1.007 GB, free: 340 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.214e-05/0.0108, allocations: 88.08 kB / 1.007 GB, free: 248 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.01083, allocations: 23.83 kB / 1.007 GB, free: 224 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.445e-05/0.01091, allocations: 25.7 kB / 1.007 GB, free: 192 kB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.01108, allocations: 318.8 kB / 1.007 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.01122, allocations: 39.98 kB / 1.007 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.01138, allocations: 52.44 kB / 1.007 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.01168, allocations: 89.55 kB / 1.007 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01168, allocations: 4 kB / 1.007 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003462/0.01203, allocations: 121.5 kB / 1.008 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.01205, allocations: 8 kB / 1.008 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.01206, allocations: 7.969 kB / 1.008 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.01208, allocations: 4 kB / 1.008 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.0122, allocations: 11.98 kB / 1.008 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.01221, allocations: 3.984 kB / 1.008 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.368e-05/0.0123, allocations: 15.89 kB / 1.008 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.01231, allocations: 0 / 1.008 GB, free: 15.5 MB / 0.9669 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.976e-05/0.01241, allocations: 113.8 kB / 1.008 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.01244, allocations: 3.938 kB / 1.008 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.579e-05/0.01249, allocations: 19.92 kB / 1.008 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.01249, allocations: 4 kB / 1.008 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01249, allocations: 0 / 1.008 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.01249, allocations: 0 / 1.008 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.01265, allocations: 113.3 kB / 1.008 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.01266, allocations: 4.125 kB / 1.008 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.01276, allocations: 11.98 kB / 1.008 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.01276, allocations: 0 / 1.008 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.01278, allocations: 11.94 kB / 1.008 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.01278, allocations: 3.938 kB / 1.008 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.01278, allocations: 0 / 1.008 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.01311, allocations: 175.5 kB / 1.008 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 1.921e-05/0.01313, allocations: 15.95 kB / 1.008 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.01315, allocations: 0 / 1.008 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.01326, allocations: 11.92 kB / 1.008 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.83e-05/0.01328, allocations: 0 / 1.008 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.01328, allocations: 0 / 1.008 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.553e-05/0.01335, allocations: 97.14 kB / 1.008 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.01335, allocations: 0 / 1.008 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002683/0.01362, allocations: 23.94 kB / 1.008 GB, free: 14.85 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 (4): * Single equations (assignments): 4 * 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.0002075/0.01382, allocations: 115.2 kB / 1.008 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003406/0.01417, allocations: 105.6 kB / 1.008 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01417, allocations: 0 / 1.008 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.01428, allocations: 23.98 kB / 1.008 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.0146, allocations: 10.33 kB / 1.008 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005442/0.01515, allocations: 173.1 kB / 1.009 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.04e-05/0.01522, allocations: 67.33 kB / 1.009 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.78e-05/0.01527, allocations: 4 kB / 1.009 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.01531, allocations: 16.5 kB / 1.009 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.01531, allocations: 0 / 1.009 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of Templates: time 0.004318/0.01963, allocations: 1.281 MB / 1.01 GB, free: 13.01 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.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.269872810691595]