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.0008399/0.0008399, allocations: 76.25 kB / 20.03 MB, free: 4.488 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.0008542/0.0008542, allocations: 169.9 kB / 23.33 MB, free: 1.184 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.9141/0.9141, allocations: 177.1 MB / 203.7 MB, free: 5.707 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.844/1.844, allocations: 390.1 MB / 0.635 GB, free: 11.55 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.883e-06/1.883e-06, allocations: 0 / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.132e-05/3.32e-05, allocations: 2.312 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.00194/0.001973, allocations: 1.367 MB / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.002985, allocations: 0.845 MB / 1.005 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.003029, allocations: 0 / 1.005 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.786e-05/0.003046, allocations: 0 / 1.005 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.356e-05/0.00313, allocations: 15.86 kB / 1.005 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004533/0.003583, allocations: 211 kB / 1.005 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.453e-05/0.003658, allocations: 43.8 kB / 1.005 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.785e-05/0.003706, allocations: 7.984 kB / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.458e-05/0.00375, allocations: 19.92 kB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.502e-05/0.003795, allocations: 8 kB / 1.005 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.003808, allocations: 0 / 1.005 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003851/0.004193, allocations: 383.4 kB / 1.006 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.004212, allocations: 3.938 kB / 1.006 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.717e-05/0.004239, allocations: 15.98 kB / 1.006 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.004552, allocations: 291.2 kB / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.004554, allocations: 0 / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.433e-06/0.004556, allocations: 3.938 kB / 1.006 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.00456, allocations: 0 / 1.006 GB, free: 7.621 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.0003976/0.004958, allocations: 345.3 kB / 1.006 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.004999, allocations: 8.625 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.005202, allocations: 16.92 kB / 1.006 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.005318, allocations: 125.7 kB / 1.007 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.005337, allocations: 384 / 1.007 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.005348, allocations: 384 / 1.007 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.00546, allocations: 50.19 kB / 1.007 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.00547, allocations: 192 / 1.007 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.00548, allocations: 4.375 kB / 1.007 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.005487, allocations: 384 / 1.007 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.488e-05/0.005551, allocations: 19.91 kB / 1.007 GB, free: 7 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.005693, allocations: 113.3 kB / 1.007 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.627e-05/0.00579, allocations: 42.53 kB / 1.007 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.109e-05/0.005831, allocations: 16.91 kB / 1.007 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.005848, allocations: 8 kB / 1.007 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.005869, allocations: 30.56 kB / 1.007 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.00587, allocations: 0 / 1.007 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002229/0.006093, allocations: 69.56 kB / 1.007 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.006126, allocations: 51.41 kB / 1.007 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.402e-05/0.00622, allocations: 133 kB / 1.007 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.006231, allocations: 25.7 kB / 1.007 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.006269, allocations: 84.09 kB / 1.007 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.006289, allocations: 20 kB / 1.007 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.006324, allocations: 25.72 kB / 1.007 GB, free: 6.297 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.00641, allocations: 314.8 kB / 1.008 GB, free: 5.98 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.307e-05/0.006463, allocations: 23.98 kB / 1.008 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.937e-05/0.006503, allocations: 19.98 kB / 1.008 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.025e-05/0.006593, allocations: 48.78 kB / 1.008 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.006595, allocations: 0 / 1.008 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001304/0.006725, allocations: 89.55 kB / 1.008 GB, free: 5.793 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.006742, allocations: 4 kB / 1.008 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.006759, allocations: 4 kB / 1.008 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.006775, allocations: 4 kB / 1.008 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/0.007225, allocations: 75.88 kB / 1.008 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.00837, allocations: 1.383 MB / 1.009 GB, free: 4.223 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.635e-05/0.008396, allocations: 7.891 kB / 1.009 GB, free: 4.215 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.008405, allocations: 4 kB / 1.009 GB, free: 4.211 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 6.263e-05/0.008468, allocations: 114 kB / 1.009 GB, free: 4.09 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.306e-06/0.008476, allocations: 11.89 kB / 1.009 GB, free: 4.078 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.887e-06/0.008485, allocations: 7.703 kB / 1.009 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.008487, allocations: 3.984 kB / 1.009 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.31e-07/0.008487, allocations: 0 / 1.009 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.00849, allocations: 0 / 1.009 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.535e-05/0.008545, allocations: 109.3 kB / 1.009 GB, free: 3.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.008547, allocations: 0 / 1.009 GB, free: 3.934 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000445/0.008992, allocations: 103.9 kB / 1.009 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.008993, allocations: 0 / 1.009 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.009003, allocations: 7.938 kB / 1.01 GB, free: 3.824 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009906/0.009993, allocations: 1.373 MB / 1.011 GB, free: 2.352 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.009994, allocations: 0 / 1.011 GB, free: 2.352 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.449e-05/0.01009, allocations: 93.12 kB / 1.011 GB, free: 2.242 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-06/0.01009, allocations: 4 kB / 1.011 GB, free: 2.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.019e-06/0.0101, allocations: 0 / 1.011 GB, free: 2.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.846e-05/0.01012, allocations: 4 kB / 1.011 GB, free: 2.234 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.996e-05/0.01014, allocations: 3.984 kB / 1.011 GB, free: 2.23 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.01014, allocations: 0 / 1.011 GB, free: 2.23 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.885e-05/0.01018, allocations: 95.27 kB / 1.011 GB, free: 2.137 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01018, allocations: 0 / 1.011 GB, free: 2.137 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001615/0.01034, allocations: 31.88 kB / 1.011 GB, free: 2.105 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.0002212/0.01056, allocations: 111.3 kB / 1.011 GB, free: 1.988 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005337/0.0111, allocations: 153.5 kB / 1.011 GB, free: 1.832 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.0111, allocations: 0 / 1.011 GB, free: 1.832 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000464/0.01156, allocations: 123.8 kB / 1.011 GB, free: 1.711 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.01173, allocations: 6 kB / 1.011 GB, free: 1.707 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003162/0.01205, allocations: 144.5 kB / 1.012 GB, free: 1.539 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.382e-05/0.01209, allocations: 67.28 kB / 1.012 GB, free: 1.453 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.254e-05/0.01211, allocations: 4 kB / 1.012 GB, free: 1.449 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.53e-05/0.01213, allocations: 8.5 kB / 1.012 GB, free: 1.441 MB / 0.9636 GB Notification: Performance of SimCode: time 4.51e-07/0.01213, allocations: 0 / 1.012 GB, free: 1.441 MB / 0.9636 GB Notification: Performance of Templates: time 0.002884/0.01501, allocations: 1.41 MB / 1.013 GB, free: 56 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 -s cvode -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: 5.2785208616405725]