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.001066/0.001066, allocations: 80.25 kB / 20.04 MB, free: 4.484 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.001168/0.001168, allocations: 173.9 kB / 23.35 MB, free: 1.18 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.8493/0.8493, allocations: 177.1 MB / 203.7 MB, free: 5.719 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.752/1.752, allocations: 390.1 MB / 0.635 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.583e-06/1.583e-06, allocations: 0 / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.904e-05, allocations: 2.312 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.002201/0.002221, allocations: 1.36 MB / 1.004 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.003377, allocations: 0.8412 MB / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.115e-05/0.003418, allocations: 0 / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.003437, allocations: 7.922 kB / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.301e-05/0.00351, allocations: 7.938 kB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005525/0.004063, allocations: 214.8 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.036e-05/0.004143, allocations: 51.77 kB / 1.005 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.004185, allocations: 0 / 1.005 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.525e-05/0.004231, allocations: 19.98 kB / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.669e-05/0.004277, allocations: 15.92 kB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.004292, allocations: 4 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005224/0.004814, allocations: 371.4 kB / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.00483, allocations: 7.984 kB / 1.006 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.004855, allocations: 11.94 kB / 1.006 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.005261, allocations: 295.1 kB / 1.006 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.005264, allocations: 0 / 1.006 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.91e-07/0.005264, allocations: 0 / 1.006 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.005268, allocations: 0 / 1.006 GB, free: 7.637 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.0003963/0.005665, allocations: 337.3 kB / 1.006 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.005707, allocations: 16.62 kB / 1.006 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002086/0.005915, allocations: 20.91 kB / 1.006 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.006024, allocations: 113.8 kB / 1.007 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.006039, allocations: 4.375 kB / 1.007 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.006048, allocations: 384 / 1.007 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.006166, allocations: 46.23 kB / 1.007 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.006175, allocations: 4.125 kB / 1.007 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.006184, allocations: 384 / 1.007 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.006188, allocations: 384 / 1.007 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.25e-05/0.00627, allocations: 23.92 kB / 1.007 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.006409, allocations: 117.3 kB / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.006519, allocations: 38.55 kB / 1.007 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.872e-05/0.006568, allocations: 12.92 kB / 1.007 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.006583, allocations: 4 kB / 1.007 GB, free: 6.809 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.006607, allocations: 34.56 kB / 1.007 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.006608, allocations: 0 / 1.007 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002439/0.006852, allocations: 73.55 kB / 1.007 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.006879, allocations: 51.41 kB / 1.007 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.617e-05/0.006975, allocations: 122.1 kB / 1.007 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.006989, allocations: 29.7 kB / 1.007 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.007029, allocations: 92.06 kB / 1.007 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.007044, allocations: 7.938 kB / 1.007 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.007085, allocations: 25.7 kB / 1.007 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.587e-05/0.007181, allocations: 318.8 kB / 1.008 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.21e-05/0.007243, allocations: 19.98 kB / 1.008 GB, free: 5.984 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.431e-05/0.007297, allocations: 23.98 kB / 1.008 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.007407, allocations: 52.84 kB / 1.008 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.007409, allocations: 0 / 1.008 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001718/0.007581, allocations: 89.67 kB / 1.008 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.007595, allocations: 4 kB / 1.008 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.00761, allocations: 7.984 kB / 1.008 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.007624, allocations: 0 / 1.008 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006621/0.008286, allocations: 83.88 kB / 1.008 GB, free: 5.719 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.009833, allocations: 1.376 MB / 1.009 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.937e-05/0.009873, allocations: 7.984 kB / 1.009 GB, free: 4.234 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.009883, allocations: 3.984 kB / 1.009 GB, free: 4.23 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.092e-05/0.009954, allocations: 113.8 kB / 1.009 GB, free: 4.109 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.009965, allocations: 11.83 kB / 1.009 GB, free: 4.098 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.987e-06/0.009974, allocations: 3.719 kB / 1.009 GB, free: 4.098 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.009978, allocations: 7.984 kB / 1.009 GB, free: 4.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.009981, allocations: 4 kB / 1.009 GB, free: 4.086 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.009989, allocations: 8.031 kB / 1.009 GB, free: 4.078 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.175e-06/0.009997, allocations: 0 / 1.009 GB, free: 4.078 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.357e-05/0.01003, allocations: 7.984 kB / 1.009 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.01004, allocations: 0 / 1.009 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007524/0.0108, allocations: 229.6 kB / 1.01 GB, free: 3.836 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002115/0.01101, allocations: 238.8 kB / 1.01 GB, free: 3.586 MB / 0.9636 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.864e-05/0.01106, allocations: 15.97 kB / 1.01 GB, free: 3.57 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.554e-05/0.0111, allocations: 95.27 kB / 1.01 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of Backend: time 2.61e-07/0.0111, allocations: 0 / 1.01 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001256/0.01236, allocations: 318.2 kB / 1.01 GB, free: 3.152 MB / 0.9636 GB Notification: Performance of SimCode: time 0.0004919/0.01285, allocations: 0.5961 MB / 1.011 GB, free: 2.508 MB / 0.9636 GB Notification: Performance of Templates: time 0.00506/0.01791, allocations: 2.653 MB / 1.013 GB, free: 15.87 MB / 0.9792 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: 4.803043840453029]