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.000771/0.000771, 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.0007885/0.0007885, 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.9066/0.9066, allocations: 177.1 MB / 203.6 MB, free: 5.734 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.823/1.823, 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.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.933e-06/1.933e-06, allocations: 0 / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.142e-05/3.335e-05, allocations: 2.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.002643/0.002676, allocations: 1.36 MB / 1.004 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.003912, allocations: 0.8411 MB / 1.005 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.78e-05/0.00397, allocations: 0 / 1.005 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.333e-05/0.003993, allocations: 11.92 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.911e-05/0.004082, allocations: 7.922 kB / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007649/0.004847, allocations: 210.9 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.56e-05/0.004943, allocations: 43.78 kB / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.059e-05/0.004994, allocations: 7.984 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.665e-05/0.00505, allocations: 23.92 kB / 1.005 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.303e-05/0.005103, allocations: 11.98 kB / 1.005 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.005121, allocations: 4 kB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006253/0.005746, allocations: 367.5 kB / 1.006 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.286e-05/0.005769, allocations: 7.984 kB / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.0058, allocations: 15.92 kB / 1.006 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.006258, allocations: 295.1 kB / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.006261, allocations: 0 / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.493e-06/0.006263, allocations: 0 / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.006269, allocations: 4 kB / 1.006 GB, free: 7.594 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.0005168/0.006785, allocations: 337.3 kB / 1.006 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.006836, allocations: 12.03 kB / 1.006 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.007098, allocations: 16.91 kB / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.007235, allocations: 121.8 kB / 1.007 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.007255, allocations: 384 / 1.007 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.007265, allocations: 384 / 1.007 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.007403, allocations: 46.23 kB / 1.007 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.007412, allocations: 4.125 kB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.007424, allocations: 4.375 kB / 1.007 GB, free: 7 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.007429, allocations: 384 / 1.007 GB, free: 7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.093e-05/0.00751, allocations: 23.86 kB / 1.007 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001711/0.007681, allocations: 117.3 kB / 1.007 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.007803, allocations: 38.55 kB / 1.007 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.512e-05/0.007848, allocations: 12.92 kB / 1.007 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.007866, allocations: 3.984 kB / 1.007 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.007894, allocations: 42.56 kB / 1.007 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.007896, allocations: 0 / 1.007 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002545/0.00815, allocations: 73.55 kB / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.008187, allocations: 51.41 kB / 1.007 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.008295, allocations: 130 kB / 1.007 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.008311, allocations: 25.7 kB / 1.007 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.616e-05/0.008357, allocations: 88.08 kB / 1.007 GB, free: 6.312 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.008376, allocations: 4 kB / 1.007 GB, free: 6.309 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/0.008421, allocations: 25.7 kB / 1.007 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.008521, allocations: 314.8 kB / 1.008 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.514e-05/0.008596, allocations: 24.11 kB / 1.008 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.041e-05/0.008647, allocations: 23.98 kB / 1.008 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.008759, allocations: 48.72 kB / 1.008 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.008762, allocations: 0 / 1.008 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001705/0.008932, allocations: 89.56 kB / 1.008 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.008948, allocations: 4 kB / 1.008 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.008968, allocations: 4 kB / 1.008 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.008985, allocations: 3.984 kB / 1.008 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000599/0.009584, allocations: 79.89 kB / 1.008 GB, free: 5.68 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.01116, allocations: 1.38 MB / 1.009 GB, free: 4.199 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.933e-05/0.0112, allocations: 7.984 kB / 1.009 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.01121, allocations: 0 / 1.009 GB, free: 4.191 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 8.284e-05/0.0113, allocations: 117.8 kB / 1.009 GB, free: 4.066 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.106e-05/0.01131, allocations: 7.891 kB / 1.009 GB, free: 4.059 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.253e-05/0.01132, allocations: 3.625 kB / 1.009 GB, free: 4.059 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.01132, allocations: 8.094 kB / 1.009 GB, free: 4.051 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.01132, allocations: 0 / 1.009 GB, free: 4.051 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01133, allocations: 0 / 1.009 GB, free: 4.051 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.622e-05/0.01141, allocations: 109.3 kB / 1.009 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01142, allocations: 0 / 1.009 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006286/0.01204, allocations: 107.9 kB / 1.009 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.01205, allocations: 0 / 1.009 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.01206, allocations: 7.875 kB / 1.009 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/0.01346, allocations: 1.376 MB / 1.011 GB, free: 2.324 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.01346, allocations: 32 / 1.011 GB, free: 2.324 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.01361, allocations: 88.98 kB / 1.011 GB, free: 2.219 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.01363, allocations: 11.89 kB / 1.011 GB, free: 2.207 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.774e-06/0.01363, allocations: 0 / 1.011 GB, free: 2.207 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.507e-05/0.01366, allocations: 128 / 1.011 GB, free: 2.207 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.01369, allocations: 11.98 kB / 1.011 GB, free: 2.195 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.01369, allocations: 0 / 1.011 GB, free: 2.195 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.219e-05/0.01374, allocations: 94.52 kB / 1.011 GB, free: 2.105 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01374, allocations: 4 kB / 1.011 GB, free: 2.102 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002809/0.01403, allocations: 24 kB / 1.011 GB, free: 2.078 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.0002163/0.01424, allocations: 115.1 kB / 1.011 GB, free: 1.957 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0007524/0.01499, allocations: 157.5 kB / 1.011 GB, free: 1.797 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.015, allocations: 0 / 1.011 GB, free: 1.797 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007323/0.01573, allocations: 115.8 kB / 1.011 GB, free: 1.684 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.01598, allocations: 7.938 kB / 1.011 GB, free: 1.676 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004825/0.01647, allocations: 139 kB / 1.012 GB, free: 1.516 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.062e-05/0.01654, allocations: 75.33 kB / 1.012 GB, free: 1.422 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.021e-05/0.01657, allocations: 0 / 1.012 GB, free: 1.422 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.01659, allocations: 12.5 kB / 1.012 GB, free: 1.41 MB / 0.9636 GB Notification: Performance of SimCode: time 1.623e-06/0.0166, allocations: 0 / 1.012 GB, free: 1.41 MB / 0.9636 GB Notification: Performance of Templates: time 0.003265/0.01986, allocations: 1.404 MB / 1.013 GB, free: 32 kB / 0.9636 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 -s cvode -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: 5.215599784627557]