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.002031/0.002031, allocations: 80.97 kB / 19.29 MB, free: 2.207 MB / 14.72 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.002426/0.002426, allocations: 168.2 kB / 22.58 MB, free: 4.906 MB / 14.72 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 1.461/1.461, allocations: 177.1 MB / 202.9 MB, free: 9.117 MB / 190.1 MB " [Timeout remaining time 178] 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 2.942/2.942, allocations: 390.1 MB / 0.6342 GB, free: 15.91 MB / 0.6075 GB " [Timeout remaining time 176] 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.553e-06/1.553e-06, allocations: 0 / 1.002 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.975e-05/3.13e-05, allocations: 5.688 kB / 1.002 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.002513/0.002544, allocations: 1.374 MB / 1.004 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.003973, allocations: 0.8326 MB / 1.004 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.974e-05/0.004013, allocations: 0 / 1.004 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.018e-05/0.004033, allocations: 0 / 1.004 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.233e-05/0.004105, allocations: 11.88 kB / 1.004 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006071/0.004712, allocations: 218.9 kB / 1.005 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.807e-05/0.004801, allocations: 35.8 kB / 1.005 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.004848, allocations: 8 kB / 1.005 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.827e-05/0.004897, allocations: 23.91 kB / 1.005 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.122e-05/0.004948, allocations: 12 kB / 1.005 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.004962, allocations: 0 / 1.005 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006165/0.005578, allocations: 383.4 kB / 1.005 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.005593, allocations: 0 / 1.005 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.005621, allocations: 19.94 kB / 1.005 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004428/0.006064, allocations: 291.2 kB / 1.005 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.006067, allocations: 0 / 1.005 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.91e-07/0.006067, allocations: 0 / 1.005 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.006071, allocations: 0 / 1.005 GB, free: 1.973 MB / 0.9512 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.0005081/0.006579, allocations: 337.4 kB / 1.006 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.00662, allocations: 8.031 kB / 1.006 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002414/0.006862, allocations: 24.91 kB / 1.006 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.00702, allocations: 125.6 kB / 1.006 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.007035, allocations: 384 / 1.006 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.007049, allocations: 4.375 kB / 1.006 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.007199, allocations: 42.25 kB / 1.006 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.007209, allocations: 192 / 1.006 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.007222, allocations: 4.375 kB / 1.006 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.007226, allocations: 384 / 1.006 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.007348, allocations: 19.91 kB / 1.006 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001606/0.007508, allocations: 113.3 kB / 1.006 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.007662, allocations: 46.47 kB / 1.006 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.846e-05/0.00773, allocations: 20.91 kB / 1.006 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.007747, allocations: 4 kB / 1.006 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.007773, allocations: 30.56 kB / 1.006 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.007774, allocations: 0 / 1.006 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0002929/0.008067, allocations: 65.62 kB / 1.006 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.008111, allocations: 51.41 kB / 1.006 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.008232, allocations: 133.9 kB / 1.006 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.008248, allocations: 25.7 kB / 1.006 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.008304, allocations: 84.09 kB / 1.006 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.008324, allocations: 20.02 kB / 1.006 GB, free: 0.6797 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/0.008373, allocations: 25.7 kB / 1.006 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.008516, allocations: 314.8 kB / 1.007 GB, free: 340 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.673e-05/0.008602, allocations: 23.98 kB / 1.007 GB, free: 316 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.118e-05/0.008674, allocations: 16 kB / 1.007 GB, free: 300 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.008828, allocations: 52.77 kB / 1.007 GB, free: 244 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.00883, allocations: 0 / 1.007 GB, free: 244 kB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00021/0.00904, allocations: 81.61 kB / 1.007 GB, free: 156 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.009055, allocations: 8 kB / 1.007 GB, free: 148 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.009071, allocations: 4 kB / 1.007 GB, free: 144 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.009085, allocations: 0 / 1.007 GB, free: 144 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000997/0.01008, allocations: 87.81 kB / 1.007 GB, free: 56 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.01229, allocations: 1.372 MB / 1.008 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.152e-05/0.01236, allocations: 15.86 kB / 1.008 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.01237, allocations: 7.984 kB / 1.008 GB, free: 14.56 MB / 0.9669 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.849e-05/0.01246, allocations: 114 kB / 1.009 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.01247, allocations: 11.89 kB / 1.009 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.464e-05/0.01249, allocations: 3.625 kB / 1.009 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01249, allocations: 0 / 1.009 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.0125, allocations: 7.984 kB / 1.009 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.0125, allocations: 0 / 1.009 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.01261, allocations: 105.3 kB / 1.009 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.01261, allocations: 3.984 kB / 1.009 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/0.01372, allocations: 103.9 kB / 1.009 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.01372, allocations: 0 / 1.009 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.01373, allocations: 3.938 kB / 1.009 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/0.01578, allocations: 1.376 MB / 1.01 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01579, allocations: 0 / 1.01 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.01598, allocations: 85.2 kB / 1.01 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.01599, allocations: 3.984 kB / 1.01 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.016, allocations: 0 / 1.01 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.989e-05/0.01604, allocations: 4 kB / 1.01 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.01608, allocations: 3.938 kB / 1.01 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.01608, allocations: 3.984 kB / 1.01 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.161e-05/0.01616, allocations: 97.66 kB / 1.01 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.01616, allocations: 0 / 1.01 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002625/0.01642, allocations: 23.98 kB / 1.01 GB, free: 12.46 MB / 0.9669 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.0002278/0.01665, allocations: 119.2 kB / 1.01 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.01786, allocations: 145.5 kB / 1.011 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01786, allocations: 3.938 kB / 1.011 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.01906, allocations: 123.8 kB / 1.011 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.01935, allocations: 11.92 kB / 1.011 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004592/0.01981, allocations: 136.5 kB / 1.011 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.936e-05/0.01988, allocations: 71.28 kB / 1.011 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.1e-05/0.0199, allocations: 0 / 1.011 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.89e-05/0.01992, allocations: 8.5 kB / 1.011 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.01992, allocations: 0 / 1.011 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of Templates: time 0.00455/0.02447, allocations: 1.417 MB / 1.012 GB, free: 10.41 MB / 0.9669 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: 8.169208604842424]