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.00187/0.00187, allocations: 84.95 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.002192/0.002192, allocations: 171.4 kB / 22.58 MB, free: 4.918 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.484/1.484, allocations: 177.1 MB / 202.9 MB, free: 9.117 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 3.057/3.057, allocations: 390.1 MB / 0.6342 GB, free: 15.88 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.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.513e-06/1.513e-06, allocations: 0 / 1.002 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.068e-05/3.219e-05, allocations: 5.125 kB / 1.002 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp): time 0.002789/0.002821, allocations: 1.421 MB / 1.004 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.004474, allocations: 1 MB / 1.005 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.733e-05/0.004532, allocations: 4 kB / 1.005 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.195e-05/0.004563, allocations: 7.922 kB / 1.005 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.004698, allocations: 19.8 kB / 1.005 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000838/0.005536, allocations: 234.8 kB / 1.005 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.005674, allocations: 75.58 kB / 1.005 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.005723, allocations: 15.98 kB / 1.005 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.434e-05/0.005807, allocations: 39.89 kB / 1.005 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.005915, allocations: 27.91 kB / 1.005 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.005933, allocations: 4 kB / 1.005 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006717/0.006605, allocations: 403.4 kB / 1.005 GB, free: 1.891 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.541e-05/0.00663, allocations: 11.92 kB / 1.005 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.006669, allocations: 19.92 kB / 1.005 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005726/0.007242, allocations: 347 kB / 1.006 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.007245, allocations: 0 / 1.006 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.21e-07/0.007246, allocations: 4 kB / 1.006 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.007253, allocations: 3.984 kB / 1.006 GB, free: 1.512 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006624/0.007915, allocations: 381 kB / 1.006 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.007958, allocations: 15.98 kB / 1.006 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005592/0.008517, allocations: 52.81 kB / 1.006 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.008692, allocations: 129.7 kB / 1.006 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.008709, allocations: 384 / 1.006 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.008724, allocations: 384 / 1.006 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.008946, allocations: 62.16 kB / 1.006 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.008955, allocations: 192 / 1.006 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.008972, allocations: 12.12 kB / 1.006 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.008979, allocations: 3.984 kB / 1.006 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002169/0.009196, allocations: 39.95 kB / 1.006 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.009389, allocations: 133.2 kB / 1.007 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.009726, allocations: 86.52 kB / 1.007 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.009836, allocations: 28.91 kB / 1.007 GB, free: 496 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.009855, allocations: 8 kB / 1.007 GB, free: 488 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.009889, allocations: 34.5 kB / 1.007 GB, free: 444 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.00989, allocations: 0 / 1.007 GB, free: 444 kB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0004442/0.01033, allocations: 113.6 kB / 1.007 GB, free: 324 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.01037, allocations: 55.34 kB / 1.007 GB, free: 256 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.01052, allocations: 143.7 kB / 1.007 GB, free: 104 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.01055, allocations: 29.69 kB / 1.007 GB, free: 68 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.01062, allocations: 100 kB / 1.007 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.01065, allocations: 19.84 kB / 1.007 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.855e-05/0.01072, allocations: 29.7 kB / 1.007 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.01086, allocations: 322.8 kB / 1.007 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.01101, allocations: 43.97 kB / 1.008 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.01115, allocations: 51.97 kB / 1.008 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.01141, allocations: 99.7 kB / 1.008 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01141, allocations: 0 / 1.008 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003634/0.01178, allocations: 141.6 kB / 1.008 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.01179, allocations: 4 kB / 1.008 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.01181, allocations: 3.984 kB / 1.008 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.01183, allocations: 11.94 kB / 1.008 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.01201, allocations: 15.98 kB / 1.008 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.01202, allocations: 0 / 1.008 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.01217, allocations: 15.89 kB / 1.008 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.01219, allocations: 7.984 kB / 1.008 GB, free: 15.19 MB / 0.9669 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 9.805e-05/0.01229, allocations: 113.8 kB / 1.008 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.0123, allocations: 3.953 kB / 1.008 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.089e-05/0.01235, allocations: 12.34 kB / 1.008 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01235, allocations: 4.125 kB / 1.008 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.01235, allocations: 4 kB / 1.008 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.01236, allocations: 3.984 kB / 1.008 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.01247, allocations: 117.3 kB / 1.008 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.01248, allocations: 4 kB / 1.008 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.0126, allocations: 11.98 kB / 1.008 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.0126, allocations: 0 / 1.008 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.01262, allocations: 0 / 1.008 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.01262, allocations: 0 / 1.008 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.01262, allocations: 3.938 kB / 1.008 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.01293, allocations: 121 kB / 1.008 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 2.21e-05/0.01295, allocations: 11.89 kB / 1.008 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.01297, allocations: 0 / 1.008 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.01309, allocations: 7.984 kB / 1.008 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.01311, allocations: 7.938 kB / 1.008 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.01312, allocations: 0 / 1.008 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.116e-05/0.01321, allocations: 116.8 kB / 1.008 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01321, allocations: 3.938 kB / 1.008 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002358/0.01345, allocations: 24 kB / 1.008 GB, free: 14.57 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.0002044/0.01365, allocations: 119.2 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000354/0.01401, allocations: 113.6 kB / 1.009 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01401, allocations: 3.938 kB / 1.009 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.01412, allocations: 23.98 kB / 1.009 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.01441, allocations: 15.84 kB / 1.009 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007495/0.01516, allocations: 208.6 kB / 1.009 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.085e-05/0.01523, allocations: 75.33 kB / 1.009 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.083e-05/0.01529, allocations: 8 kB / 1.009 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.371e-05/0.01534, allocations: 8.5 kB / 1.009 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of SimCode: time 6.72e-07/0.01534, allocations: 3.938 kB / 1.009 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of Templates: time 0.005413/0.02076, allocations: 1.906 MB / 1.011 GB, free: 12.06 MB / 0.9669 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: 8.434256237000227]