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.0007909/0.0007909, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0007626/0.0007626, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.9041/0.9041, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.793/1.793, allocations: 390.1 MB / 0.6348 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.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.954e-06/1.954e-06, allocations: 0 / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.588e-05/3.783e-05, allocations: 6.219 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.001869/0.001906, allocations: 1.356 MB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008962/0.002803, allocations: 0.8451 MB / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.664e-05/0.002839, allocations: 0 / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.002858, allocations: 0 / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.02e-05/0.002938, allocations: 11.88 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.003396, allocations: 218.8 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.655e-05/0.003483, allocations: 39.8 kB / 1.005 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.302e-05/0.003526, allocations: 0 / 1.005 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.784e-05/0.003574, allocations: 19.98 kB / 1.005 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.416e-05/0.003618, allocations: 15.92 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.003634, allocations: 4 kB / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003805/0.004014, allocations: 375.4 kB / 1.006 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.00403, allocations: 7.922 kB / 1.006 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.004051, allocations: 12 kB / 1.006 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.004362, allocations: 299.2 kB / 1.006 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.004365, allocations: 0 / 1.006 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.082e-06/0.004366, allocations: 3.938 kB / 1.006 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.004372, allocations: 0 / 1.006 GB, free: 7.73 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003906/0.004762, allocations: 337.4 kB / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.004802, allocations: 8.625 kB / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.004994, allocations: 20.91 kB / 1.006 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.005272, allocations: 121.7 kB / 1.006 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.005289, allocations: 384 / 1.006 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.005298, allocations: 4.375 kB / 1.006 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.005412, allocations: 46.17 kB / 1.006 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.00542, allocations: 192 / 1.006 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.00543, allocations: 384 / 1.006 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.005435, allocations: 4.312 kB / 1.006 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.127e-05/0.005496, allocations: 23.92 kB / 1.006 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.005621, allocations: 117.3 kB / 1.007 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.517e-05/0.005716, allocations: 42.55 kB / 1.007 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.814e-05/0.005754, allocations: 16.91 kB / 1.007 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.005767, allocations: 3.938 kB / 1.007 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.005786, allocations: 34.56 kB / 1.007 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.005786, allocations: 0 / 1.007 GB, free: 6.852 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002019/0.005988, allocations: 65.62 kB / 1.007 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.006018, allocations: 55.41 kB / 1.007 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.942e-05/0.006107, allocations: 126 kB / 1.007 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.006119, allocations: 29.7 kB / 1.007 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.006154, allocations: 84.09 kB / 1.007 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.006169, allocations: 8.125 kB / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.006201, allocations: 21.7 kB / 1.007 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.825e-05/0.006279, allocations: 318.8 kB / 1.007 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.389e-05/0.006333, allocations: 23.98 kB / 1.007 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.482e-05/0.006367, allocations: 23.86 kB / 1.007 GB, free: 6.055 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.484e-05/0.006452, allocations: 52.77 kB / 1.007 GB, free: 6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.006455, allocations: 8 kB / 1.007 GB, free: 5.992 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001166/0.006572, allocations: 81.62 kB / 1.007 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.006589, allocations: 9.875 kB / 1.007 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.006605, allocations: 4 kB / 1.007 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.006619, allocations: 0 / 1.007 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004368/0.007056, allocations: 79.88 kB / 1.008 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.00822, allocations: 1.376 MB / 1.009 GB, free: 4.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.633e-05/0.008247, allocations: 11.97 kB / 1.009 GB, free: 4.328 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.008255, allocations: 0 / 1.009 GB, free: 4.328 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 (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 7.017e-05/0.008325, allocations: 117.9 kB / 1.009 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-06/0.008332, allocations: 7.891 kB / 1.009 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.053e-05/0.008343, allocations: 11.62 kB / 1.009 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.008344, allocations: 0 / 1.009 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.008345, allocations: 0 / 1.009 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.008348, allocations: 96 / 1.009 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.569e-05/0.008423, allocations: 125.2 kB / 1.009 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.008425, allocations: 3.938 kB / 1.009 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004434/0.008869, allocations: 103.8 kB / 1.009 GB, free: 3.93 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.008872, allocations: 0 / 1.009 GB, free: 3.93 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.008886, allocations: 3.938 kB / 1.009 GB, free: 3.926 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.00989, allocations: 1.373 MB / 1.011 GB, free: 2.453 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.009894, allocations: 7.969 kB / 1.011 GB, free: 2.445 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.936e-05/0.009993, allocations: 89.16 kB / 1.011 GB, free: 2.34 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-06/0.01, allocations: 7.938 kB / 1.011 GB, free: 2.332 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-06/0.01001, allocations: 3.984 kB / 1.011 GB, free: 2.328 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.831e-05/0.01003, allocations: 0 / 1.011 GB, free: 2.328 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.01005, allocations: 4 kB / 1.011 GB, free: 2.324 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.01005, allocations: 0 / 1.011 GB, free: 2.324 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.857e-05/0.01009, allocations: 94.39 kB / 1.011 GB, free: 2.234 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.01009, allocations: 4 kB / 1.011 GB, free: 2.23 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001704/0.01026, allocations: 20 kB / 1.011 GB, free: 2.211 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 (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.0001687/0.01043, allocations: 115.7 kB / 1.011 GB, free: 2.09 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005337/0.01097, allocations: 153.5 kB / 1.011 GB, free: 1.934 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01097, allocations: 0 / 1.011 GB, free: 1.934 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004477/0.01141, allocations: 115.8 kB / 1.011 GB, free: 1.82 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.01165, allocations: 15.92 kB / 1.011 GB, free: 1.805 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003734/0.01203, allocations: 162.5 kB / 1.011 GB, free: 1.613 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.66e-05/0.01207, allocations: 67.28 kB / 1.011 GB, free: 1.527 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.834e-05/0.01209, allocations: 8.5 kB / 1.011 GB, free: 1.52 MB / 0.9636 GB Notification: Performance of SimCode: time 1.713e-06/0.01209, allocations: 0 / 1.011 GB, free: 1.52 MB / 0.9636 GB Notification: Performance of Templates: time 0.0022/0.01429, allocations: 1.153 MB / 1.013 GB, free: 380 kB / 0.9636 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: 6.947638840414584]