Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.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.001418/0.001418, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00155/0.00155, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.544/1.544, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.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.506/3.506, allocations: 0.5056 GB / 0.8107 GB, free: 23.13 MB / 0.6231 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.InvertingPowerLaw_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 69.52 kB / 1.179 GB, free: 16.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3926, allocations: 180.5 MB / 1.355 GB, free: 6.129 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.002605/0.3952, allocations: 1.359 MB / 1.356 GB, free: 4.758 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.3965, allocations: 0.8365 MB / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.225e-05/0.3966, allocations: 0 / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.959e-05/0.3966, allocations: 7.938 kB / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.543e-05/0.3967, allocations: 7.922 kB / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005907/0.3973, allocations: 211 kB / 1.357 GB, free: 3.695 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.878e-05/0.3973, allocations: 39.84 kB / 1.357 GB, free: 3.656 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.3974, allocations: 7.938 kB / 1.357 GB, free: 3.648 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.549e-05/0.3974, allocations: 11.98 kB / 1.357 GB, free: 3.637 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.393e-05/0.3975, allocations: 19.86 kB / 1.357 GB, free: 3.617 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.3975, allocations: 4 kB / 1.357 GB, free: 3.613 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006137/0.3981, allocations: 375.5 kB / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.3981, allocations: 0 / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.3981, allocations: 15.92 kB / 1.358 GB, free: 3.23 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000396/0.3985, allocations: 259.2 kB / 1.358 GB, free: 2.977 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3985, allocations: 0 / 1.358 GB, free: 2.977 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3985, allocations: 0 / 1.358 GB, free: 2.977 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3985, allocations: 4 kB / 1.358 GB, free: 2.973 MB / 1.045 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.0005209/0.3991, allocations: 345.3 kB / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.3991, allocations: 19.92 kB / 1.358 GB, free: 2.582 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.3994, allocations: 20.89 kB / 1.358 GB, free: 2.562 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.3995, allocations: 114.5 kB / 1.358 GB, free: 2.426 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.3995, allocations: 4.375 kB / 1.358 GB, free: 2.422 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.3995, allocations: 384 / 1.358 GB, free: 2.422 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.3997, allocations: 42.25 kB / 1.358 GB, free: 2.375 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3997, allocations: 4.172 kB / 1.358 GB, free: 2.371 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.3997, allocations: 11.88 kB / 1.358 GB, free: 2.359 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3997, allocations: 0 / 1.358 GB, free: 2.359 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.3998, allocations: 23.92 kB / 1.358 GB, free: 2.336 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.4, allocations: 113.3 kB / 1.359 GB, free: 2.195 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.4002, allocations: 34.56 kB / 1.359 GB, free: 2.152 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.97e-05/0.4002, allocations: 16.91 kB / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.4003, allocations: 0 / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.4003, allocations: 30.56 kB / 1.359 GB, free: 2.094 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.4003, allocations: 4 kB / 1.359 GB, free: 2.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.000302/0.4006, allocations: 77.5 kB / 1.359 GB, free: 2.008 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.4006, allocations: 51.41 kB / 1.359 GB, free: 1.945 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.4007, allocations: 127 kB / 1.359 GB, free: 1.809 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.4008, allocations: 29.7 kB / 1.359 GB, free: 1.773 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/0.4008, allocations: 88.12 kB / 1.359 GB, free: 1.684 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.4008, allocations: 3.953 kB / 1.359 GB, free: 1.68 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.066e-05/0.4009, allocations: 25.7 kB / 1.359 GB, free: 1.648 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.401, allocations: 318.8 kB / 1.359 GB, free: 1.328 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.78e-05/0.4011, allocations: 24.11 kB / 1.359 GB, free: 1.305 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.193e-05/0.4012, allocations: 19.98 kB / 1.359 GB, free: 1.285 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.4013, allocations: 56.77 kB / 1.359 GB, free: 1.227 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4013, allocations: 0 / 1.359 GB, free: 1.227 MB / 1.045 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002185/0.4015, allocations: 89.56 kB / 1.36 GB, free: 1.133 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.4016, allocations: 4 kB / 1.36 GB, free: 1.129 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.4016, allocations: 4 kB / 1.36 GB, free: 1.125 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.4016, allocations: 3.938 kB / 1.36 GB, free: 1.121 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.4026, allocations: 83.88 kB / 1.36 GB, free: 1.039 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.4048, allocations: 1.372 MB / 1.361 GB, free: 15.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.988e-05/0.4048, allocations: 11.92 kB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.4049, allocations: 4 kB / 1.361 GB, free: 15.55 MB / 1.061 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 9.716e-05/0.405, allocations: 117.8 kB / 1.361 GB, free: 15.42 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.405, allocations: 7.938 kB / 1.361 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.177e-05/0.405, allocations: 7.719 kB / 1.361 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.405, allocations: 0 / 1.361 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.405, allocations: 4 kB / 1.361 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.405, allocations: 4.078 kB / 1.361 GB, free: 15.4 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.975e-05/0.4051, allocations: 109.2 kB / 1.361 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4051, allocations: 0 / 1.361 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.4062, allocations: 107.9 kB / 1.361 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4062, allocations: 0 / 1.361 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.4062, allocations: 0 / 1.361 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/0.4083, allocations: 1.376 MB / 1.363 GB, free: 13.69 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4083, allocations: 0 / 1.363 GB, free: 13.69 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.4085, allocations: 89.02 kB / 1.363 GB, free: 13.58 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.223e-05/0.4085, allocations: 7.953 kB / 1.363 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-06/0.4085, allocations: 3.938 kB / 1.363 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.688e-05/0.4086, allocations: 8.062 kB / 1.363 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.4086, allocations: 7.984 kB / 1.363 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.4086, allocations: 3.938 kB / 1.363 GB, free: 13.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.485e-05/0.4087, allocations: 97.77 kB / 1.363 GB, free: 13.46 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4087, allocations: 0 / 1.363 GB, free: 13.46 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002652/0.409, allocations: 27.94 kB / 1.363 GB, free: 13.43 MB / 1.061 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.0002064/0.4092, allocations: 119.1 kB / 1.363 GB, free: 13.3 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.4104, allocations: 149.5 kB / 1.363 GB, free: 13.15 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4104, allocations: 0 / 1.363 GB, free: 13.15 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.4117, allocations: 123.8 kB / 1.363 GB, free: 13.03 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.4119, allocations: 8 kB / 1.363 GB, free: 13.02 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004364/0.4124, allocations: 130 kB / 1.363 GB, free: 12.87 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.69e-05/0.4125, allocations: 71.31 kB / 1.363 GB, free: 12.78 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.294e-05/0.4125, allocations: 7.859 kB / 1.363 GB, free: 12.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.4125, allocations: 7.438 kB / 1.363 GB, free: 12.76 MB / 1.061 GB Notification: Performance of SimCode: time 1.142e-06/0.4125, allocations: 0 / 1.363 GB, free: 12.76 MB / 1.061 GB Notification: Performance of Templates: time 0.005527/0.4181, allocations: 1.454 MB / 1.365 GB, free: 11.34 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.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: 9.607728950679302]