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.001402/0.001402, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009998/0.0009998, allocations: 169 kB / 23.02 MB, free: 1.551 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.005/1.005, allocations: 177.1 MB / 203.4 MB, free: 5.625 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 2.218/2.218, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] 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.104e-06/2.104e-06, allocations: 3.984 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.183e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_m_flow): time 0.001683/0.001705, allocations: 1.4 MB / 0.8796 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009204/0.002625, allocations: 0.9036 MB / 0.8804 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.91e-05/0.002664, allocations: 0 / 0.8804 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.355e-05/0.002688, allocations: 0 / 0.8804 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.36e-05/0.002761, allocations: 12.77 kB / 0.8805 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.003223, allocations: 213.8 kB / 0.8807 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.068e-05/0.003294, allocations: 39.84 kB / 0.8807 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.365e-05/0.003337, allocations: 5.312 kB / 0.8807 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.049e-05/0.003378, allocations: 15.98 kB / 0.8807 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.105e-05/0.003419, allocations: 11.98 kB / 0.8807 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.003432, allocations: 11.12 kB / 0.8807 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003993/0.003832, allocations: 375.4 kB / 0.8811 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.00385, allocations: 11.94 kB / 0.8811 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.003872, allocations: 11.98 kB / 0.8811 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.004184, allocations: 291.2 kB / 0.8814 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.004186, allocations: 0 / 0.8814 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.82e-07/0.004187, allocations: 3.938 kB / 0.8814 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.004191, allocations: 0 / 0.8814 GB, free: 3.016 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.000368/0.004559, allocations: 444.2 kB / 0.8818 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.004596, allocations: 12.03 kB / 0.8818 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.004786, allocations: 26.16 kB / 0.8819 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.119e-05/0.004877, allocations: 116.6 kB / 0.882 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.00489, allocations: 384 / 0.882 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.004903, allocations: 4.375 kB / 0.882 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.005006, allocations: 54.95 kB / 0.882 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.005016, allocations: 192 / 0.882 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.005025, allocations: 384 / 0.882 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.005033, allocations: 384 / 0.882 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.798e-05/0.005061, allocations: 15.92 kB / 0.8821 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.00518, allocations: 132.5 kB / 0.8822 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.594e-05/0.005236, allocations: 35.06 kB / 0.8822 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.914e-05/0.005265, allocations: 19.73 kB / 0.8822 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.005279, allocations: 4 kB / 0.8822 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.005298, allocations: 33.39 kB / 0.8823 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 5.81e-07/0.005299, allocations: 0 / 0.8823 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001423/0.005441, allocations: 57.58 kB / 0.8823 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.005466, allocations: 51.41 kB / 0.8824 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.519e-05/0.005551, allocations: 185.8 kB / 0.8825 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.005566, allocations: 25.7 kB / 0.8826 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.005607, allocations: 138.8 kB / 0.8827 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.005623, allocations: 3.953 kB / 0.8827 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.005659, allocations: 31.36 kB / 0.8827 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.00577, allocations: 0.4924 MB / 0.8832 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.76e-05/0.005798, allocations: 11.98 kB / 0.8832 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.932e-05/0.005817, allocations: 8 kB / 0.8832 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.257e-05/0.00587, allocations: 43.72 kB / 0.8833 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.005872, allocations: 0 / 0.8833 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.842e-05/0.00596, allocations: 77.56 kB / 0.8834 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.005971, allocations: 4 kB / 0.8834 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.005985, allocations: 4 kB / 0.8834 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.006, allocations: 0 / 0.8834 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.006391, allocations: 55.92 kB / 0.8834 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.007455, allocations: 1.864 MB / 0.8852 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.007479, allocations: 0 / 0.8852 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.007488, allocations: 12.11 kB / 0.8852 GB, free: 14.76 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 6.665e-05/0.007555, allocations: 156.6 kB / 0.8854 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.007565, allocations: 11.89 kB / 0.8854 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.002e-05/0.007575, allocations: 3.625 kB / 0.8854 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.12e-07/0.007576, allocations: 0 / 0.8854 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.007577, allocations: 0 / 0.8854 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.007579, allocations: 0 / 0.8854 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.008e-05/0.007639, allocations: 120.6 kB / 0.8855 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.00764, allocations: 0 / 0.8855 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003744/0.008015, allocations: 79.91 kB / 0.8856 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.008016, allocations: 0 / 0.8856 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.008024, allocations: 3.938 kB / 0.8856 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008855/0.008909, allocations: 1.853 MB / 0.8874 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.00891, allocations: 0 / 0.8874 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.015e-05/0.00898, allocations: 92.27 kB / 0.8875 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-06/0.008984, allocations: 3.938 kB / 0.8875 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.959e-06/0.008989, allocations: 7.938 kB / 0.8875 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.782e-05/0.009007, allocations: 4 kB / 0.8875 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/0.009026, allocations: 3.984 kB / 0.8875 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.009029, allocations: 4.125 kB / 0.8875 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.488e-05/0.009074, allocations: 142.7 kB / 0.8877 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009074, allocations: 0 / 0.8877 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001612/0.009235, allocations: 20 kB / 0.8877 GB, free: 12.07 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.0001258/0.009361, allocations: 119.2 kB / 0.8878 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004194/0.009781, allocations: 121.2 kB / 0.8879 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.009782, allocations: 4 kB / 0.8879 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003799/0.01016, allocations: 91.59 kB / 0.888 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.01031, allocations: 13.8 kB / 0.888 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.01058, allocations: 130.4 kB / 0.8881 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.253e-05/0.01061, allocations: 67.14 kB / 0.8882 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.385e-05/0.01063, allocations: 0 / 0.8882 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.443e-05/0.01064, allocations: 8.5 kB / 0.8882 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of SimCode: time 7.01e-07/0.01064, allocations: 0 / 0.8882 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of Templates: time 0.002858/0.0135, allocations: 1.444 MB / 0.8896 GB, free: 10.05 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","",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.674760882742703]