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.002582/0.002582, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.003294/0.003294, allocations: 177.2 kB / 22.77 MB, free: 1.656 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 1.592/1.592, allocations: 177.1 MB / 203.1 MB, free: 5.281 MB / 186.7 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 3.405/3.405, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 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 2.124e-06/2.124e-06, allocations: 0 / 0.8775 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.343e-05/3.556e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.003775/0.00381, allocations: 1.367 MB / 0.8788 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002119/0.005929, allocations: 0.8978 MB / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.705e-05/0.005986, allocations: 1.375 kB / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.143e-05/0.006007, allocations: 0 / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.006119, allocations: 15.86 kB / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009771/0.007096, allocations: 206 kB / 0.8799 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.007224, allocations: 43.8 kB / 0.8799 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.007267, allocations: 1.5 kB / 0.8799 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.14e-05/0.007349, allocations: 23.97 kB / 0.88 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.917e-05/0.007408, allocations: 11.92 kB / 0.88 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.007429, allocations: 4 kB / 0.88 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.008449, allocations: 375.3 kB / 0.8803 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.008471, allocations: 11.94 kB / 0.8804 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.323e-05/0.008504, allocations: 7.984 kB / 0.8804 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0007559/0.00926, allocations: 299.2 kB / 0.8806 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.009263, allocations: 3.938 kB / 0.8806 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.282e-06/0.009265, allocations: 0 / 0.8806 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.00927, allocations: 0 / 0.8806 GB, free: 3.383 MB / 0.8386 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.0007543/0.01002, allocations: 439.3 kB / 0.8811 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.01007, allocations: 12.03 kB / 0.8811 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003454/0.01042, allocations: 29.72 kB / 0.8811 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.01082, allocations: 112.6 kB / 0.8812 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.01084, allocations: 384 / 0.8812 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.01086, allocations: 5.391 kB / 0.8812 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.01102, allocations: 42.25 kB / 0.8813 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.01104, allocations: 5.297 kB / 0.8813 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.01105, allocations: 4.375 kB / 0.8813 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.01106, allocations: 4.375 kB / 0.8813 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.01118, allocations: 16.56 kB / 0.8813 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002535/0.01143, allocations: 133.7 kB / 0.8814 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.01164, allocations: 43 kB / 0.8815 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.173e-05/0.01172, allocations: 23.23 kB / 0.8815 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.01174, allocations: 0 / 0.8815 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.269e-05/0.01179, allocations: 37.39 kB / 0.8815 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.01179, allocations: 0 / 0.8815 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003951/0.01219, allocations: 61.64 kB / 0.8816 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/0.01226, allocations: 63.33 kB / 0.8816 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.01251, allocations: 181.9 kB / 0.8818 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.01254, allocations: 25.7 kB / 0.8818 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.01267, allocations: 139.6 kB / 0.882 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.0127, allocations: 7.953 kB / 0.882 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.357e-05/0.01278, allocations: 27.95 kB / 0.882 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003494/0.01313, allocations: 0.4884 MB / 0.8825 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.515e-05/0.01322, allocations: 25.17 kB / 0.8825 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.445e-05/0.0133, allocations: 12 kB / 0.8825 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.01347, allocations: 49.12 kB / 0.8826 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01348, allocations: 0 / 0.8826 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002993/0.01377, allocations: 89.61 kB / 0.8826 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.01379, allocations: 4 kB / 0.8827 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/0.01382, allocations: 8.125 kB / 0.8827 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.01383, allocations: 0 / 0.8827 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009562/0.01479, allocations: 51.92 kB / 0.8827 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003078/0.01787, allocations: 1.903 MB / 0.8846 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.969e-05/0.01795, allocations: 11.89 kB / 0.8846 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.01796, allocations: 3.984 kB / 0.8846 GB, free: 15.04 MB / 0.8542 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 0.0001711/0.01813, allocations: 160.6 kB / 0.8847 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.01816, allocations: 7.891 kB / 0.8847 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.01819, allocations: 3.625 kB / 0.8847 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.01819, allocations: 4 kB / 0.8847 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.01819, allocations: 0 / 0.8847 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.0182, allocations: 8 kB / 0.8848 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.01836, allocations: 120.6 kB / 0.8849 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01837, allocations: 0 / 0.8849 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.01952, allocations: 75.91 kB / 0.8849 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.01952, allocations: 4 kB / 0.8849 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.01954, allocations: 12.03 kB / 0.885 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002925/0.02246, allocations: 1.903 MB / 0.8868 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.02246, allocations: 0 / 0.8868 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.02271, allocations: 100.4 kB / 0.8869 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.02273, allocations: 0 / 0.8869 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.02275, allocations: 3.984 kB / 0.8869 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.02282, allocations: 4 kB / 0.8869 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.02286, allocations: 0 / 0.8869 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.02287, allocations: 0 / 0.8869 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001372/0.023, allocations: 142.7 kB / 0.8871 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.023, allocations: 0 / 0.8871 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004194/0.02342, allocations: 27.94 kB / 0.8871 GB, free: 12.29 MB / 0.8542 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.0003092/0.02373, allocations: 119.2 kB / 0.8872 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001259/0.02499, allocations: 129.3 kB / 0.8873 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.02499, allocations: 3.938 kB / 0.8873 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.02623, allocations: 95.59 kB / 0.8874 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.02657, allocations: 14.27 kB / 0.8874 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005869/0.02716, allocations: 134.2 kB / 0.8876 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.571e-05/0.02726, allocations: 71.27 kB / 0.8876 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.783e-05/0.02728, allocations: 4.062 kB / 0.8876 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.02731, allocations: 8.5 kB / 0.8876 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of SimCode: time 7.82e-07/0.02731, allocations: 0 / 0.8876 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of Templates: time 0.007074/0.03439, allocations: 1.443 MB / 0.889 GB, free: 10.24 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow.pipe 2>&1) [Timeout 240] 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.574878626037389]