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.0009973/0.0009973, allocations: 81.41 kB / 20.04 MB, free: 4.492 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.0009/0.0009, allocations: 173.9 kB / 23.34 MB, free: 1.188 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.8682/0.8682, allocations: 177.1 MB / 203.7 MB, free: 5.715 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.775/1.775, 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_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.533e-06/1.533e-06, allocations: 0 / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.368e-05, allocations: 6.312 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.001659/0.001683, allocations: 1.368 MB / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009412/0.002624, allocations: 0.8412 MB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.005e-05/0.002664, allocations: 0 / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.002685, allocations: 3.938 kB / 1.005 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.291e-05/0.002768, allocations: 11.91 kB / 1.005 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.003215, allocations: 210.9 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.127e-05/0.003286, allocations: 51.78 kB / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.036e-05/0.003327, allocations: 0 / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.508e-05/0.003372, allocations: 23.92 kB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.294e-05/0.003415, allocations: 11.97 kB / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.003426, allocations: 4 kB / 1.005 GB, free: 8.297 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003609/0.003787, allocations: 367.5 kB / 1.006 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.003801, allocations: 11.94 kB / 1.006 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/0.003821, allocations: 11.92 kB / 1.006 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.004118, allocations: 303.2 kB / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.00412, allocations: 0 / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004121, allocations: 0 / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.004125, allocations: 0 / 1.006 GB, free: 7.617 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.0003478/0.004473, allocations: 337.3 kB / 1.006 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.004507, allocations: 12.03 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.004675, allocations: 20.91 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.592e-05/0.004771, allocations: 121.2 kB / 1.007 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.004786, allocations: 384 / 1.007 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.385e-06/0.004794, allocations: 384 / 1.007 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.664e-05/0.004891, allocations: 50.19 kB / 1.007 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.004899, allocations: 192 / 1.007 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.004909, allocations: 8.344 kB / 1.007 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.004914, allocations: 384 / 1.007 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.863e-05/0.004973, allocations: 23.92 kB / 1.007 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001151/0.005088, allocations: 109.3 kB / 1.007 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.476e-05/0.005173, allocations: 38.56 kB / 1.007 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.00521, allocations: 20.91 kB / 1.007 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.005225, allocations: 0 / 1.007 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.005246, allocations: 38.5 kB / 1.007 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.005247, allocations: 0 / 1.007 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001911/0.005438, allocations: 69.56 kB / 1.007 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002096/0.005648, allocations: 51.41 kB / 1.007 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.277e-05/0.005741, allocations: 130 kB / 1.007 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.005753, allocations: 25.7 kB / 1.007 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.314e-05/0.005787, allocations: 92.08 kB / 1.007 GB, free: 6.34 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.005802, allocations: 8.016 kB / 1.007 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.005832, allocations: 25.72 kB / 1.007 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.562e-05/0.005907, allocations: 322.8 kB / 1.008 GB, free: 5.977 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.646e-05/0.005954, allocations: 15.98 kB / 1.008 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.596e-05/0.00599, allocations: 23.98 kB / 1.008 GB, free: 5.938 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.687e-05/0.006067, allocations: 48.72 kB / 1.008 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.006068, allocations: 0 / 1.008 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001093/0.006178, allocations: 81.67 kB / 1.008 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.006189, allocations: 4 kB / 1.008 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.006205, allocations: 8 kB / 1.008 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.006219, allocations: 0 / 1.008 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004187/0.006638, allocations: 87.81 kB / 1.008 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.007707, allocations: 1.372 MB / 1.009 GB, free: 4.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.469e-05/0.007732, allocations: 11.92 kB / 1.009 GB, free: 4.219 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.007741, allocations: 8 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 5.411e-05/0.007795, allocations: 114 kB / 1.009 GB, free: 4.09 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-06/0.007803, allocations: 11.88 kB / 1.009 GB, free: 4.078 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.742e-06/0.007809, allocations: 3.625 kB / 1.009 GB, free: 4.078 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.71e-07/0.00781, allocations: 4 kB / 1.009 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-07/0.007811, allocations: 0 / 1.009 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.007813, allocations: 0 / 1.009 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.283e-05/0.007866, allocations: 109.3 kB / 1.009 GB, free: 3.938 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.007868, allocations: 7.938 kB / 1.009 GB, free: 3.93 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004235/0.008291, allocations: 99.86 kB / 1.009 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.008292, allocations: 0 / 1.009 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.008299, allocations: 3.938 kB / 1.009 GB, free: 3.828 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009037/0.009203, allocations: 1.38 MB / 1.011 GB, free: 2.348 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.009204, allocations: 4.031 kB / 1.011 GB, free: 2.344 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.749e-05/0.009291, allocations: 85.16 kB / 1.011 GB, free: 2.242 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-06/0.009295, allocations: 4 kB / 1.011 GB, free: 2.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-06/0.009299, allocations: 0 / 1.011 GB, free: 2.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.707e-05/0.009316, allocations: 0 / 1.011 GB, free: 2.238 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/0.009335, allocations: 11.98 kB / 1.011 GB, free: 2.227 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.009339, allocations: 0 / 1.011 GB, free: 2.227 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.391e-05/0.009373, allocations: 95.27 kB / 1.011 GB, free: 2.133 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.009373, allocations: 0 / 1.011 GB, free: 2.133 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001544/0.009527, allocations: 20 kB / 1.011 GB, free: 2.113 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.000123/0.00965, allocations: 119.2 kB / 1.011 GB, free: 1.988 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005072/0.01016, 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.563e-06/0.01016, allocations: 0 / 1.011 GB, free: 1.832 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004452/0.0106, allocations: 115.8 kB / 1.011 GB, free: 1.719 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.01076, allocations: 11.92 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.0002934/0.01106, allocations: 174.1 kB / 1.012 GB, free: 1.504 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.552e-05/0.0111, allocations: 67.28 kB / 1.012 GB, free: 1.418 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.39e-05/0.01112, allocations: 12.5 kB / 1.012 GB, free: 1.406 MB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/0.01112, allocations: 0 / 1.012 GB, free: 1.406 MB / 0.9636 GB Notification: Performance of Templates: time 0.001901/0.01302, allocations: 1.145 MB / 1.013 GB, free: 272 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 -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: 6.66123107727617]