Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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.0007661/0.0007661, allocations: 81.41 kB / 20.04 MB, free: 4.492 MB / 18.57 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.0008107/0.0008107, allocations: 173.9 kB / 23.34 MB, free: 1.188 MB / 18.57 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.8687/0.8687, allocations: 177.2 MB / 203.7 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] 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 1.714/1.714, allocations: 390.1 MB / 0.635 GB, free: 11.57 MB / 0.6042 GB " [Timeout remaining time 178] 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.PowerLaw_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m2_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/3.105e-05, allocations: 2.312 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp): time 0.002543/0.002574, allocations: 1.422 MB / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.00399, allocations: 1.009 MB / 1.005 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.272e-05/0.004043, allocations: 0 / 1.005 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.744e-05/0.004071, allocations: 11.92 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.004194, allocations: 15.84 kB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007273/0.004922, allocations: 242.8 kB / 1.006 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.005023, allocations: 67.7 kB / 1.006 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.005073, allocations: 7.984 kB / 1.006 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.286e-05/0.005126, allocations: 39.91 kB / 1.006 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.678e-05/0.005203, allocations: 27.89 kB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.005217, allocations: 4 kB / 1.006 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003697/0.005587, allocations: 419.3 kB / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.005608, allocations: 11.92 kB / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.005633, allocations: 19.92 kB / 1.006 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.005943, allocations: 339.1 kB / 1.007 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.005945, allocations: 0 / 1.007 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.91e-07/0.005946, allocations: 0 / 1.007 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.005949, allocations: 0 / 1.007 GB, free: 7.188 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004349/0.006384, allocations: 385 kB / 1.007 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.00642, allocations: 19.91 kB / 1.007 GB, free: 6.762 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002817/0.006702, allocations: 52.81 kB / 1.007 GB, free: 6.711 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.00683, allocations: 132.3 kB / 1.007 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.006846, allocations: 384 / 1.007 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.006857, allocations: 4.375 kB / 1.007 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.007141, allocations: 58.22 kB / 1.007 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.007148, allocations: 192 / 1.007 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.00716, allocations: 12.12 kB / 1.007 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.007164, allocations: 0 / 1.007 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.007286, allocations: 47.94 kB / 1.007 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000126/0.007412, allocations: 129.2 kB / 1.007 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.007602, allocations: 90.45 kB / 1.007 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.156e-05/0.007663, allocations: 32.91 kB / 1.007 GB, free: 6.145 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.007679, allocations: 0 / 1.007 GB, free: 6.145 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.007697, allocations: 34.56 kB / 1.007 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.007697, allocations: 0 / 1.007 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.000272/0.007969, allocations: 109.5 kB / 1.008 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.008001, allocations: 59.33 kB / 1.008 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.7e-05/0.008098, allocations: 145.8 kB / 1.008 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.00811, allocations: 25.7 kB / 1.008 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.656e-05/0.008146, allocations: 100.1 kB / 1.008 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.008165, allocations: 11.84 kB / 1.008 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.008208, allocations: 33.7 kB / 1.008 GB, free: 5.582 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.58e-05/0.008284, allocations: 322.8 kB / 1.008 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.528e-05/0.008369, allocations: 47.97 kB / 1.008 GB, free: 5.211 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.176e-05/0.008441, allocations: 43.97 kB / 1.008 GB, free: 5.168 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.008583, allocations: 91.5 kB / 1.008 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.008585, allocations: 0 / 1.008 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001933/0.008778, allocations: 149.5 kB / 1.009 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.00879, allocations: 8 kB / 1.009 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.008803, allocations: 0 / 1.009 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.008817, allocations: 3.938 kB / 1.009 GB, free: 4.914 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.675e-05/0.008914, allocations: 23.97 kB / 1.009 GB, free: 4.891 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.008923, allocations: 160 / 1.009 GB, free: 4.891 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.159e-05/0.008985, allocations: 11.89 kB / 1.009 GB, free: 4.879 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.008996, allocations: 7.984 kB / 1.009 GB, free: 4.871 MB / 0.9636 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 (8): * Single equations (assignments): 7 * 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 5.67e-05/0.009052, allocations: 121.8 kB / 1.009 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-06/0.009061, allocations: 7.953 kB / 1.009 GB, free: 4.734 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.655e-05/0.009088, allocations: 8.344 kB / 1.009 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.009091, allocations: 8.125 kB / 1.009 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.009095, allocations: 0 / 1.009 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.009098, allocations: 3.984 kB / 1.009 GB, free: 4.711 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.344e-05/0.009161, allocations: 113.3 kB / 1.009 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.009162, allocations: 0 / 1.009 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.836e-05/0.00922, allocations: 27.91 kB / 1.009 GB, free: 4.543 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.009222, allocations: 0 / 1.009 GB, free: 4.543 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.00923, allocations: 4 kB / 1.009 GB, free: 4.539 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.009231, allocations: 0 / 1.009 GB, free: 4.539 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.009232, allocations: 3.938 kB / 1.009 GB, free: 4.535 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.009385, allocations: 105 kB / 1.009 GB, free: 4.414 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.406e-05/0.009399, allocations: 15.88 kB / 1.009 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.009413, allocations: 4 kB / 1.009 GB, free: 4.395 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.082e-05/0.009453, allocations: 4 kB / 1.009 GB, free: 4.391 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.00947, allocations: 7.922 kB / 1.009 GB, free: 4.383 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.009476, allocations: 8 kB / 1.009 GB, free: 4.375 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.733e-05/0.009523, allocations: 109.3 kB / 1.009 GB, free: 4.27 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.009523, allocations: 4 kB / 1.009 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001413/0.009664, allocations: 28 kB / 1.009 GB, free: 4.238 MB / 0.9636 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.0001129/0.009777, allocations: 107.2 kB / 1.009 GB, free: 4.125 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000212/0.009989, allocations: 117.6 kB / 1.009 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.00999, allocations: 0 / 1.009 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.458e-05/0.01004, allocations: 27.98 kB / 1.009 GB, free: 3.977 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.01022, allocations: 23.84 kB / 1.009 GB, free: 3.953 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004018/0.01062, allocations: 230.3 kB / 1.01 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.151e-05/0.01066, allocations: 79.33 kB / 1.01 GB, free: 3.598 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.0107, allocations: 12.5 kB / 1.01 GB, free: 3.586 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/0.01071, allocations: 0 / 1.01 GB, free: 3.586 MB / 0.9636 GB Notification: Performance of Templates: time 0.002272/0.01298, allocations: 1.394 MB / 1.011 GB, free: 2.199 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.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: 6.436185267753899]