Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.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.0007656/0.0007656, 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.0007732/0.0007732, 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.8445/0.8445, allocations: 177.1 MB / 203.7 MB, free: 5.703 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.725/1.725, 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_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.663e-05, allocations: 6.312 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.001462/0.001479, allocations: 1.364 MB / 1.004 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008218/0.002301, allocations: 0.8451 MB / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.002335, allocations: 0 / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.002351, allocations: 0 / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.002418, allocations: 11.86 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.002811, allocations: 214.9 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.514e-05/0.002876, allocations: 39.8 kB / 1.005 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.846e-05/0.002914, allocations: 7.984 kB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.73e-05/0.002952, allocations: 15.98 kB / 1.005 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.089e-05/0.002993, allocations: 15.92 kB / 1.005 GB, free: 8.281 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.003004, allocations: 4 kB / 1.005 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003528/0.003357, allocations: 375.4 kB / 1.006 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.003372, allocations: 4 kB / 1.006 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.003393, allocations: 15.92 kB / 1.006 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.00375, allocations: 295.2 kB / 1.006 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.003752, allocations: 3.938 kB / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.52e-07/0.003753, allocations: 0 / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.003756, allocations: 0 / 1.006 GB, free: 7.598 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.0003338/0.00409, allocations: 337.3 kB / 1.006 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.004126, allocations: 12.03 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.004291, allocations: 20.91 kB / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.727e-05/0.004378, allocations: 117.7 kB / 1.007 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.004392, allocations: 4.375 kB / 1.007 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.0044, allocations: 384 / 1.007 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.22e-05/0.004492, allocations: 46.25 kB / 1.007 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.004499, allocations: 192 / 1.007 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.004506, allocations: 384 / 1.007 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.004511, allocations: 4.359 kB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.074e-05/0.004572, allocations: 19.92 kB / 1.007 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001158/0.004688, allocations: 113.3 kB / 1.007 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.347e-05/0.004771, allocations: 38.5 kB / 1.007 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.605e-05/0.004807, allocations: 20.91 kB / 1.007 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.004821, allocations: 4 kB / 1.007 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.004838, allocations: 34.56 kB / 1.007 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 5.81e-07/0.004839, allocations: 0 / 1.007 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001824/0.005021, allocations: 65.56 kB / 1.007 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.031e-05/0.005041, allocations: 51.41 kB / 1.007 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.246e-05/0.005114, allocations: 129.1 kB / 1.007 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.005123, allocations: 33.64 kB / 1.007 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.248e-05/0.005155, allocations: 92.06 kB / 1.007 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.00517, allocations: 12.02 kB / 1.007 GB, free: 6.312 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.0052, allocations: 25.72 kB / 1.007 GB, free: 6.281 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.029e-05/0.005271, allocations: 322.8 kB / 1.008 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.972e-05/0.00532, allocations: 19.98 kB / 1.008 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.768e-05/0.005358, allocations: 23.98 kB / 1.008 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.887e-05/0.005437, allocations: 48.83 kB / 1.008 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.005438, allocations: 0 / 1.008 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001166/0.005555, allocations: 85.7 kB / 1.008 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.005565, allocations: 4 kB / 1.008 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.005578, allocations: 8 kB / 1.008 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.005591, allocations: 3.984 kB / 1.008 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004364/0.006028, allocations: 79.88 kB / 1.008 GB, free: 5.68 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.007091, allocations: 1.38 MB / 1.009 GB, free: 4.199 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.591e-05/0.007116, allocations: 11.92 kB / 1.009 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.007123, allocations: 3.938 kB / 1.009 GB, free: 4.184 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 5.273e-05/0.007176, allocations: 118 kB / 1.009 GB, free: 4.059 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-06/0.007183, allocations: 7.891 kB / 1.009 GB, free: 4.051 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.143e-06/0.00719, allocations: 7.609 kB / 1.009 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.007192, allocations: 0 / 1.009 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.007195, allocations: 4 kB / 1.009 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-06/0.007198, allocations: 0 / 1.009 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-06/0.007203, allocations: 0 / 1.009 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.95e-05/0.007222, allocations: 4 kB / 1.009 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.302e-05/0.007235, allocations: 3.984 kB / 1.009 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005062/0.007742, allocations: 229.6 kB / 1.01 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001487/0.00789, allocations: 234.8 kB / 1.01 GB, free: 3.555 MB / 0.9636 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.51e-05/0.007925, allocations: 15.98 kB / 1.01 GB, free: 3.539 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.362e-05/0.007959, allocations: 99.39 kB / 1.01 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of Backend: time 4.01e-07/0.007959, allocations: 0 / 1.01 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0008142/0.008774, allocations: 315.4 kB / 1.01 GB, free: 3.117 MB / 0.9636 GB Notification: Performance of SimCode: time 0.0003995/0.009173, allocations: 0.5961 MB / 1.011 GB, free: 2.473 MB / 0.9636 GB Notification: Performance of Templates: time 0.003506/0.01268, allocations: 2.656 MB / 1.013 GB, free: 15.84 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_m_flow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.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.882267222739756]