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.001443/0.001443, allocations: 86.45 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.001764/0.001764, allocations: 178.3 kB / 22.59 MB, free: 4.906 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.533/1.533, allocations: 177.1 MB / 202.9 MB, free: 9.121 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.025/3.025, allocations: 390.1 MB / 0.6342 GB, free: 15.93 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.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 1.833e-06/1.833e-06, allocations: 0 / 1.002 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.592e-05/3.775e-05, allocations: 2.312 kB / 1.002 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.00435/0.004387, allocations: 1.37 MB / 1.004 GB, free: 2.738 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002458/0.006846, allocations: 0.8403 MB / 1.004 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.976e-05/0.006896, allocations: 0 / 1.004 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.006924, allocations: 3.938 kB / 1.004 GB, free: 1.891 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.00706, allocations: 15.86 kB / 1.004 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.008287, allocations: 214.8 kB / 1.005 GB, free: 1.664 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.008416, allocations: 31.86 kB / 1.005 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 6.224e-05/0.008478, allocations: 11.98 kB / 1.005 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 8.895e-05/0.008567, allocations: 19.92 kB / 1.005 GB, free: 1.602 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.818e-05/0.008655, allocations: 11.98 kB / 1.005 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.008674, allocations: 0 / 1.005 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.009868, allocations: 383.4 kB / 1.005 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/0.009891, allocations: 7.938 kB / 1.005 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.99e-05/0.009931, allocations: 15.98 kB / 1.005 GB, free: 1.191 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007239/0.01065, allocations: 287.2 kB / 1.005 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.01066, allocations: 0 / 1.005 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.002e-06/0.01066, allocations: 0 / 1.005 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.01067, allocations: 0 / 1.005 GB, free: 0.9102 MB / 0.9044 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.0007386/0.0114, allocations: 337.4 kB / 1.006 GB, free: 0.5469 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/0.01146, allocations: 11.98 kB / 1.006 GB, free: 0.5352 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003966/0.01186, allocations: 28.8 kB / 1.006 GB, free: 0.5078 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.01204, allocations: 113.7 kB / 1.006 GB, free: 380 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.01207, allocations: 12.36 kB / 1.006 GB, free: 368 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.01208, allocations: 384 / 1.006 GB, free: 368 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.01229, allocations: 38.25 kB / 1.006 GB, free: 324 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.0123, allocations: 192 / 1.006 GB, free: 324 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.01231, allocations: 4.375 kB / 1.006 GB, free: 320 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.01232, allocations: 4.359 kB / 1.006 GB, free: 316 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.01251, allocations: 19.92 kB / 1.006 GB, free: 296 kB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.01273, allocations: 121.2 kB / 1.006 GB, free: 144 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.01299, allocations: 46.53 kB / 1.006 GB, free: 88 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.01311, allocations: 12.91 kB / 1.006 GB, free: 72 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.01313, allocations: 4 kB / 1.006 GB, free: 68 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.01317, allocations: 30.56 kB / 1.006 GB, free: 28 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.01317, allocations: 0 / 1.006 GB, free: 28 kB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0004992/0.01367, allocations: 69.81 kB / 1.006 GB, free: 15.95 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.01373, allocations: 51.41 kB / 1.006 GB, free: 15.89 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.01392, allocations: 125.8 kB / 1.006 GB, free: 15.75 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.01395, allocations: 25.7 kB / 1.006 GB, free: 15.72 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.441e-05/0.01403, allocations: 92.25 kB / 1.006 GB, free: 15.63 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.01406, allocations: 11.89 kB / 1.006 GB, free: 15.62 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.827e-05/0.01414, allocations: 21.72 kB / 1.006 GB, free: 15.59 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002096/0.01435, allocations: 318.8 kB / 1.007 GB, free: 15.27 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.0145, allocations: 23.98 kB / 1.007 GB, free: 15.25 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.01463, allocations: 15.98 kB / 1.007 GB, free: 15.23 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.01491, allocations: 52.78 kB / 1.007 GB, free: 15.18 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.01491, allocations: 0 / 1.007 GB, free: 15.18 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004153/0.01532, allocations: 89.56 kB / 1.007 GB, free: 15.08 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.01535, allocations: 9.719 kB / 1.007 GB, free: 15.07 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-05/0.01537, allocations: 0 / 1.007 GB, free: 15.07 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.01539, allocations: 4 kB / 1.007 GB, free: 15.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.01712, allocations: 79.81 kB / 1.007 GB, free: 14.99 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003912/0.02103, allocations: 1.38 MB / 1.008 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.02113, allocations: 7.953 kB / 1.008 GB, free: 13.51 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.02115, allocations: 8.156 kB / 1.008 GB, free: 13.5 MB / 0.92 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 0.0001664/0.02132, allocations: 109.8 kB / 1.008 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.02135, allocations: 15.88 kB / 1.009 GB, free: 13.37 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.02138, allocations: 7.625 kB / 1.009 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.02139, allocations: 0 / 1.009 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.02139, allocations: 0 / 1.009 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.02139, allocations: 0 / 1.009 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.02158, allocations: 113.2 kB / 1.009 GB, free: 13.21 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.02158, allocations: 0 / 1.009 GB, free: 13.21 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001851/0.02343, allocations: 99.95 kB / 1.009 GB, free: 13.12 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/0.02345, allocations: 7.922 kB / 1.009 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.02346, allocations: 4 kB / 1.009 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003702/0.02717, allocations: 1.372 MB / 1.01 GB, free: 11.64 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.02717, allocations: 0 / 1.01 GB, free: 11.64 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/0.02755, allocations: 81.23 kB / 1.01 GB, free: 11.54 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/0.02759, allocations: 11.95 kB / 1.01 GB, free: 11.53 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.0276, allocations: 0 / 1.01 GB, free: 11.53 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.459e-05/0.02769, allocations: 4 kB / 1.01 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.02773, allocations: 7.922 kB / 1.01 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.02774, allocations: 0 / 1.01 GB, free: 11.52 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001334/0.02787, allocations: 99.2 kB / 1.01 GB, free: 11.42 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.02787, allocations: 0 / 1.01 GB, free: 11.42 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004765/0.02835, allocations: 20 kB / 1.01 GB, free: 11.4 MB / 0.92 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.000381/0.02873, allocations: 119.2 kB / 1.01 GB, free: 11.27 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002148/0.03088, allocations: 153.5 kB / 1.011 GB, free: 11.12 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.03088, allocations: 0 / 1.011 GB, free: 11.12 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002068/0.03295, allocations: 119.8 kB / 1.011 GB, free: 11 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.03339, allocations: 8 kB / 1.011 GB, free: 10.99 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000659/0.03405, allocations: 144.4 kB / 1.011 GB, free: 10.82 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.03415, allocations: 67.31 kB / 1.011 GB, free: 10.74 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.709e-05/0.03419, allocations: 4 kB / 1.011 GB, free: 10.73 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.03422, allocations: 8.5 kB / 1.011 GB, free: 10.72 MB / 0.92 GB Notification: Performance of SimCode: time 6.61e-07/0.03422, allocations: 0 / 1.011 GB, free: 10.72 MB / 0.92 GB Notification: Performance of Templates: time 0.008112/0.04233, allocations: 1.424 MB / 1.012 GB, free: 9.328 MB / 0.92 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: 8.422932635992765]