Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_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.001852/0.001852, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002159/0.002159, allocations: 217.2 kB / 22.25 MB, free: 4.855 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.801 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.422/3.422, allocations: 0.5056 GB / 0.8107 GB, free: 23.08 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_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 65.31 kB / 1.179 GB, free: 16.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3931, allocations: 180.5 MB / 1.355 GB, free: 6.039 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.002678/0.3957, allocations: 1.352 MB / 1.356 GB, free: 4.672 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.3972, allocations: 0.8482 MB / 1.357 GB, free: 3.82 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.485e-05/0.3973, allocations: 0 / 1.357 GB, free: 3.82 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.242e-05/0.3973, allocations: 3.938 kB / 1.357 GB, free: 3.816 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.878e-05/0.3974, allocations: 3.938 kB / 1.357 GB, free: 3.812 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007288/0.3981, allocations: 219 kB / 1.357 GB, free: 3.598 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.3982, allocations: 35.86 kB / 1.357 GB, free: 3.562 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.787e-05/0.3983, allocations: 3.984 kB / 1.357 GB, free: 3.559 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.808e-05/0.3983, allocations: 19.92 kB / 1.357 GB, free: 3.539 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.011e-05/0.3984, allocations: 19.86 kB / 1.357 GB, free: 3.52 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.3984, allocations: 0 / 1.357 GB, free: 3.52 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006561/0.3991, allocations: 375.5 kB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.3991, allocations: 0 / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.3991, allocations: 19.92 kB / 1.358 GB, free: 3.133 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004392/0.3996, allocations: 259.2 kB / 1.358 GB, free: 2.879 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3996, allocations: 4 kB / 1.358 GB, free: 2.875 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3996, allocations: 0 / 1.358 GB, free: 2.875 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.3996, allocations: 0 / 1.358 GB, free: 2.875 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.0005384/0.4001, allocations: 345.3 kB / 1.358 GB, free: 2.504 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.4002, allocations: 11.98 kB / 1.358 GB, free: 2.492 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002747/0.4004, allocations: 16.92 kB / 1.358 GB, free: 2.477 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.4006, allocations: 118.5 kB / 1.358 GB, free: 2.336 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.4006, allocations: 4.375 kB / 1.358 GB, free: 2.332 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.4006, allocations: 4.312 kB / 1.358 GB, free: 2.328 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.4008, allocations: 46.19 kB / 1.358 GB, free: 2.277 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.4008, allocations: 192 / 1.358 GB, free: 2.277 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.4008, allocations: 3.938 kB / 1.358 GB, free: 2.273 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.4008, allocations: 4 kB / 1.358 GB, free: 2.27 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.4009, allocations: 27.89 kB / 1.358 GB, free: 2.242 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001614/0.4011, allocations: 113.3 kB / 1.359 GB, free: 2.102 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.4013, allocations: 38.56 kB / 1.359 GB, free: 2.055 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.708e-05/0.4013, allocations: 12.91 kB / 1.359 GB, free: 2.039 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.4014, allocations: 4 kB / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.4014, allocations: 38.56 kB / 1.359 GB, free: 1.988 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.4014, allocations: 0 / 1.359 GB, free: 1.988 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003077/0.4017, allocations: 69.5 kB / 1.359 GB, free: 1.914 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.4017, allocations: 55.41 kB / 1.359 GB, free: 1.848 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.4019, allocations: 131.2 kB / 1.359 GB, free: 1.707 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.4019, allocations: 25.7 kB / 1.359 GB, free: 1.676 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.4019, allocations: 80.14 kB / 1.359 GB, free: 1.594 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.402, allocations: 11.94 kB / 1.359 GB, free: 1.582 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.866e-05/0.402, allocations: 25.84 kB / 1.359 GB, free: 1.551 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4022, allocations: 318.8 kB / 1.359 GB, free: 1.23 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.182e-05/0.4023, allocations: 23.98 kB / 1.359 GB, free: 1.207 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.478e-05/0.4023, allocations: 19.98 kB / 1.359 GB, free: 1.188 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.4025, allocations: 52.72 kB / 1.359 GB, free: 1.133 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4025, allocations: 0 / 1.359 GB, free: 1.133 MB / 1.045 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002305/0.4027, allocations: 93.56 kB / 1.36 GB, free: 1.035 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.4027, allocations: 4 kB / 1.36 GB, free: 1.031 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.4027, allocations: 0 / 1.36 GB, free: 1.031 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.4028, allocations: 7.938 kB / 1.36 GB, free: 1.023 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.4038, allocations: 79.88 kB / 1.36 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002262/0.4061, allocations: 1.372 MB / 1.361 GB, free: 15.47 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.316e-05/0.4061, allocations: 11.92 kB / 1.361 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.4062, allocations: 4 kB / 1.361 GB, free: 15.45 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.921e-05/0.4063, allocations: 117.9 kB / 1.361 GB, free: 15.33 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.4063, allocations: 3.953 kB / 1.361 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.436e-05/0.4063, allocations: 11.61 kB / 1.361 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.4063, allocations: 0 / 1.361 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.02e-07/0.4063, allocations: 0 / 1.361 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.4063, allocations: 0 / 1.361 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.918e-05/0.4064, allocations: 113.2 kB / 1.361 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4064, allocations: 0 / 1.361 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.4076, allocations: 103.9 kB / 1.361 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.4076, allocations: 0 / 1.361 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.4076, allocations: 3.938 kB / 1.361 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/0.4097, allocations: 1.384 MB / 1.363 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4097, allocations: 4 kB / 1.363 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.4099, allocations: 84.98 kB / 1.363 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.4099, allocations: 12.14 kB / 1.363 GB, free: 13.47 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.41, allocations: 0 / 1.363 GB, free: 13.47 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.903e-05/0.41, allocations: 0 / 1.363 GB, free: 13.47 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.41, allocations: 7.984 kB / 1.363 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.41, allocations: 3.938 kB / 1.363 GB, free: 13.46 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.846e-05/0.4101, allocations: 101.8 kB / 1.363 GB, free: 13.36 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4101, allocations: 0 / 1.363 GB, free: 13.36 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002633/0.4104, allocations: 27.88 kB / 1.363 GB, free: 13.34 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.0002197/0.4106, allocations: 121.2 kB / 1.363 GB, free: 13.21 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001305/0.4119, allocations: 153.5 kB / 1.363 GB, free: 13.05 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4119, allocations: 0 / 1.363 GB, free: 13.05 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.4131, allocations: 119.8 kB / 1.363 GB, free: 12.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.4134, allocations: 8 kB / 1.363 GB, free: 12.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.4138, allocations: 135.9 kB / 1.363 GB, free: 12.77 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.366e-05/0.4139, allocations: 67.25 kB / 1.363 GB, free: 12.68 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.453e-05/0.4139, allocations: 7.859 kB / 1.363 GB, free: 12.68 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.975e-05/0.4139, allocations: 7.438 kB / 1.363 GB, free: 12.67 MB / 1.061 GB Notification: Performance of SimCode: time 4.91e-07/0.4139, allocations: 0 / 1.363 GB, free: 12.67 MB / 1.061 GB Notification: Performance of Templates: time 0.004498/0.4184, allocations: 1.458 MB / 1.365 GB, free: 11.23 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_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: 9.616732887923717]