Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.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.0007104/0.0007104, allocations: 80.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.0008765/0.0008765, allocations: 173.9 kB / 23.34 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.9245/0.9245, allocations: 177.1 MB / 203.7 MB, free: 5.688 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.855/1.855, allocations: 390.1 MB / 0.635 GB, free: 11.54 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.PowerLaw_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.266e-05/3.457e-05, allocations: 6.25 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.001774/0.001808, allocations: 1.383 MB / 1.004 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009239/0.002732, allocations: 0.8606 MB / 1.005 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.002765, allocations: 0 / 1.005 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.804e-05/0.002783, allocations: 3.938 kB / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.697e-05/0.00283, allocations: 7.922 kB / 1.005 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004595/0.00329, allocations: 226.9 kB / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.019e-05/0.00336, allocations: 47.73 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.307e-05/0.003403, allocations: 7.984 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.636e-05/0.003459, allocations: 31.89 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.882e-05/0.003508, allocations: 11.98 kB / 1.006 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.003522, allocations: 4 kB / 1.006 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003538/0.003876, allocations: 375.4 kB / 1.006 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.003893, allocations: 11.94 kB / 1.006 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.003915, allocations: 15.98 kB / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.004245, allocations: 299.1 kB / 1.006 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004248, allocations: 0 / 1.006 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.72e-07/0.004248, allocations: 0 / 1.006 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.004253, allocations: 0 / 1.006 GB, free: 7.531 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000376/0.004629, allocations: 349.3 kB / 1.007 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.004667, allocations: 11.97 kB / 1.007 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.004841, allocations: 16.92 kB / 1.007 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.496e-05/0.004936, allocations: 117.7 kB / 1.007 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.004964, allocations: 8.375 kB / 1.007 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.004987, allocations: 4.375 kB / 1.007 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.005141, allocations: 75.94 kB / 1.007 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.005149, allocations: 4.125 kB / 1.007 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.005161, allocations: 384 / 1.007 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.005167, allocations: 384 / 1.007 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.119e-05/0.005249, allocations: 31.91 kB / 1.007 GB, free: 6.855 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.005402, allocations: 117.3 kB / 1.007 GB, free: 6.711 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.005655, allocations: 62.55 kB / 1.007 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.193e-05/0.005707, allocations: 24.94 kB / 1.007 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.005725, allocations: 0 / 1.007 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.005756, allocations: 46.48 kB / 1.007 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.005758, allocations: 0 / 1.007 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.001262/0.00702, allocations: 405.2 kB / 1.007 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.00706, allocations: 55.34 kB / 1.007 GB, free: 6.062 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.596e-05/0.007156, allocations: 128.9 kB / 1.008 GB, free: 5.926 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.007174, allocations: 29.7 kB / 1.008 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.007217, allocations: 88.09 kB / 1.008 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.007246, allocations: 19.84 kB / 1.008 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.007295, allocations: 33.7 kB / 1.008 GB, free: 5.742 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.007392, allocations: 314.8 kB / 1.008 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.853e-05/0.007481, allocations: 51.92 kB / 1.008 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.906e-05/0.00756, allocations: 50.78 kB / 1.008 GB, free: 5.328 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.007722, allocations: 100.7 kB / 1.008 GB, free: 5.227 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.007723, allocations: 0 / 1.008 GB, free: 5.227 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002132/0.007936, allocations: 137.6 kB / 1.008 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.00795, allocations: 4 kB / 1.008 GB, free: 5.082 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.007966, allocations: 7.984 kB / 1.008 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.007979, allocations: 4 kB / 1.008 GB, free: 5.07 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.319e-05/0.008052, allocations: 15.98 kB / 1.008 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.008059, allocations: 3.938 kB / 1.008 GB, free: 5.051 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.124e-05/0.0081, allocations: 7.984 kB / 1.008 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.008111, allocations: 4 kB / 1.008 GB, free: 5.039 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.495e-05/0.008176, allocations: 121.7 kB / 1.009 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.528e-06/0.008185, allocations: 3.953 kB / 1.009 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.437e-05/0.008219, allocations: 8.438 kB / 1.009 GB, free: 4.902 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.008223, allocations: 4 kB / 1.009 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.00823, allocations: 11.92 kB / 1.009 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.008234, allocations: 0 / 1.009 GB, free: 4.887 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.008676, allocations: 315 kB / 1.009 GB, free: 4.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.008677, allocations: 0 / 1.009 GB, free: 4.539 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.958e-05/0.008747, allocations: 15.98 kB / 1.009 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.008749, allocations: 0 / 1.009 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.008764, allocations: 11.92 kB / 1.009 GB, free: 4.512 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.008765, allocations: 0 / 1.009 GB, free: 4.512 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008766, allocations: 4.031 kB / 1.009 GB, free: 4.508 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.009079, allocations: 240.4 kB / 1.009 GB, free: 4.254 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.842e-05/0.009107, allocations: 11.97 kB / 1.009 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.009125, allocations: 3.938 kB / 1.009 GB, free: 4.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.441e-05/0.009189, allocations: 7.984 kB / 1.009 GB, free: 4.23 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.063e-05/0.00921, allocations: 8 kB / 1.009 GB, free: 4.223 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.009218, allocations: 3.984 kB / 1.009 GB, free: 4.219 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.214e-05/0.00926, allocations: 95.27 kB / 1.009 GB, free: 4.125 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.00926, allocations: 4.062 kB / 1.009 GB, free: 4.121 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001784/0.009438, allocations: 23.94 kB / 1.009 GB, free: 4.098 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001677/0.009606, allocations: 115.2 kB / 1.009 GB, free: 3.973 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002682/0.009874, allocations: 117.6 kB / 1.009 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.009877, allocations: 0 / 1.009 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.544e-05/0.009942, allocations: 31.98 kB / 1.01 GB, free: 3.82 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.01019, allocations: 12.05 kB / 1.01 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006031/0.01079, allocations: 253.5 kB / 1.01 GB, free: 3.531 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.455e-05/0.01085, allocations: 71.33 kB / 1.01 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.218e-05/0.0109, allocations: 8 kB / 1.01 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.01094, allocations: 16.48 kB / 1.01 GB, free: 3.418 MB / 0.9636 GB Notification: Performance of SimCode: time 7.22e-07/0.01094, allocations: 0 / 1.01 GB, free: 3.418 MB / 0.9636 GB Notification: Performance of Templates: time 0.003479/0.01442, allocations: 1.762 MB / 1.012 GB, free: 1.711 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck -abortSlowSimulation -alarm=800 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.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.293077000416815]