Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.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.001448/0.001448, allocations: 88.72 kB / 19.44 MB, free: 356 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.001623/0.001623, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.47/1.47, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.197/3.197, allocations: 429.6 MB / 0.673 GB, free: 3.879 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_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_nominal|dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.8776 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.062e-05/3.284e-05, allocations: 2.906 kB / 0.8776 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.002898/0.002931, allocations: 1.371 MB / 0.879 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.004502, allocations: 0.841 MB / 0.8798 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.702e-05/0.004539, allocations: 1.031 kB / 0.8798 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.468e-05/0.004564, allocations: 3.984 kB / 0.8798 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.211e-05/0.004646, allocations: 7.875 kB / 0.8798 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007743/0.00542, allocations: 214.2 kB / 0.88 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.18e-05/0.005512, allocations: 40.52 kB / 0.88 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.005549, allocations: 0 / 0.88 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.269e-05/0.005611, allocations: 25.45 kB / 0.8801 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.872e-05/0.00566, allocations: 7.984 kB / 0.8801 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.005676, allocations: 4 kB / 0.8801 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006815/0.006358, allocations: 375.4 kB / 0.8804 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.006381, allocations: 12.52 kB / 0.8804 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.006412, allocations: 7.938 kB / 0.8804 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004964/0.006908, allocations: 292.6 kB / 0.8807 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.006914, allocations: 7.984 kB / 0.8807 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.52e-07/0.006915, allocations: 0 / 0.8807 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.006919, allocations: 0 / 0.8807 GB, free: 3.277 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.0005426/0.007461, allocations: 338.5 kB / 0.8811 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.007503, allocations: 12.03 kB / 0.8811 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003047/0.007808, allocations: 26.22 kB / 0.8811 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.007945, allocations: 117.7 kB / 0.8812 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.00796, allocations: 384 / 0.8812 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.007973, allocations: 4.375 kB / 0.8812 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.008125, allocations: 49.67 kB / 0.8813 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.008133, allocations: 192 / 0.8813 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.008142, allocations: 4.312 kB / 0.8813 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.008146, allocations: 384 / 0.8813 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.008264, allocations: 23.92 kB / 0.8813 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.008443, allocations: 117.3 kB / 0.8814 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.008604, allocations: 43.58 kB / 0.8814 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.83e-05/0.008672, allocations: 16.92 kB / 0.8815 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.00869, allocations: 4 kB / 0.8815 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.008735, allocations: 30.56 kB / 0.8815 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.008736, allocations: 0 / 0.8815 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003198/0.009056, allocations: 73.61 kB / 0.8816 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.009102, allocations: 55.34 kB / 0.8816 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.009238, allocations: 122 kB / 0.8817 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.00926, allocations: 29.69 kB / 0.8818 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.009326, allocations: 96.08 kB / 0.8818 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.009345, allocations: 3.953 kB / 0.8818 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.009398, allocations: 25.83 kB / 0.8819 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.00957, allocations: 318.8 kB / 0.8822 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.978e-05/0.00967, allocations: 19.98 kB / 0.8822 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.783e-05/0.009747, allocations: 27.92 kB / 0.8822 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.0099, allocations: 40.84 kB / 0.8823 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.009902, allocations: 0 / 0.8823 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002366/0.01014, allocations: 89.55 kB / 0.8823 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.01015, allocations: 4 kB / 0.8824 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.01017, allocations: 7.984 kB / 0.8824 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.01019, allocations: 4 kB / 0.8824 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009838/0.01117, allocations: 83.88 kB / 0.8824 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/0.01363, allocations: 1.376 MB / 0.8838 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.01369, allocations: 7.984 kB / 0.8838 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.0137, allocations: 3.984 kB / 0.8838 GB, free: 15.86 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 9.8e-05/0.0138, allocations: 110 kB / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.01382, allocations: 15.89 kB / 0.8839 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.01384, allocations: 11.62 kB / 0.8839 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.01384, allocations: 0 / 0.8839 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.71e-07/0.01384, allocations: 0 / 0.8839 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.01385, allocations: 0 / 0.8839 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.01396, allocations: 105.3 kB / 0.884 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.01396, allocations: 4 kB / 0.884 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.01503, allocations: 99.86 kB / 0.8841 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.01504, allocations: 0 / 0.8841 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.01505, allocations: 7.922 kB / 0.8841 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/0.01721, allocations: 1.381 MB / 0.8855 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.01722, allocations: 0 / 0.8855 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.01742, allocations: 88.94 kB / 0.8856 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.01743, allocations: 4.156 kB / 0.8856 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.01744, allocations: 4 kB / 0.8856 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.371e-05/0.01751, allocations: 7.984 kB / 0.8856 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.417e-05/0.01753, allocations: 0 / 0.8856 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.01754, allocations: 0 / 0.8856 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.031e-05/0.01762, allocations: 98.02 kB / 0.8857 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01762, allocations: 0 / 0.8857 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002675/0.01788, allocations: 23.94 kB / 0.8857 GB, free: 13.75 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.0002194/0.0181, allocations: 115.1 kB / 0.8858 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001185/0.01929, allocations: 153.5 kB / 0.886 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01929, allocations: 0 / 0.886 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.02045, allocations: 123.8 kB / 0.8861 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.02074, allocations: 15.92 kB / 0.8861 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.02117, allocations: 135 kB / 0.8862 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.356e-05/0.02124, allocations: 67.34 kB / 0.8863 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.933e-05/0.02126, allocations: 0 / 0.8863 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.02129, allocations: 8.5 kB / 0.8863 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of SimCode: time 4.51e-07/0.02129, allocations: 0 / 0.8863 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of Templates: time 0.004604/0.02589, allocations: 1.433 MB / 0.8877 GB, free: 11.68 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.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.145030661020428]