Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.001896/0.001896, allocations: 89.47 kB / 19.44 MB, free: 344 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.002053/0.002053, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.634/1.634, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.542/3.542, allocations: 429.5 MB / 0.6729 GB, free: 4.02 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.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.8775 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.373e-05/3.591e-05, allocations: 7.219 kB / 0.8775 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.003902/0.003938, allocations: 1.338 MB / 0.8788 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001678/0.005617, allocations: 0.5839 MB / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.925e-05/0.005646, allocations: 0 / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.005663, allocations: 0 / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.226e-05/0.005715, allocations: 6.047 kB / 0.8793 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007558/0.006471, allocations: 151.2 kB / 0.8795 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.044e-05/0.006561, allocations: 31.84 kB / 0.8795 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.006604, allocations: 4.719 kB / 0.8795 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.796e-05/0.006662, allocations: 15.98 kB / 0.8795 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.323e-05/0.006735, allocations: 9.641 kB / 0.8796 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.006753, allocations: 0 / 0.8796 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007254/0.007479, allocations: 279.3 kB / 0.8798 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.007496, allocations: 0 / 0.8798 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.007534, allocations: 17.12 kB / 0.8798 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004841/0.008018, allocations: 159.5 kB / 0.88 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.008022, allocations: 0 / 0.88 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.11e-07/0.008023, allocations: 0 / 0.88 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.008031, allocations: 8 kB / 0.88 GB, free: 4.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009371/0.008969, allocations: 395.9 kB / 0.8804 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.009017, allocations: 12.03 kB / 0.8804 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.511e-05/0.009083, allocations: 4.938 kB / 0.8804 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.009259, allocations: 112.6 kB / 0.8805 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.009278, allocations: 4.375 kB / 0.8805 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.009311, allocations: 4.375 kB / 0.8805 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.009552, allocations: 105.6 kB / 0.8806 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.009575, allocations: 4.141 kB / 0.8806 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.009588, allocations: 384 / 0.8806 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.009594, allocations: 4.375 kB / 0.8806 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.844e-05/0.009693, allocations: 23.92 kB / 0.8806 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002844/0.009977, allocations: 120.6 kB / 0.8808 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.01019, allocations: 66.98 kB / 0.8808 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.01029, allocations: 27.67 kB / 0.8808 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.01032, allocations: 0 / 0.8808 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.65e-05/0.01038, allocations: 41.39 kB / 0.8809 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 5.76e-06/0.01038, allocations: 3.984 kB / 0.8809 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.001956/0.01234, allocations: 472.8 kB / 0.8813 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.0124, allocations: 51.41 kB / 0.8814 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.01259, allocations: 161.9 kB / 0.8815 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.01262, allocations: 25.7 kB / 0.8816 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.01273, allocations: 130.8 kB / 0.8817 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.362e-05/0.01281, allocations: 47.64 kB / 0.8817 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.25e-05/0.0129, allocations: 31.38 kB / 0.8818 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003899/0.01329, allocations: 0.4923 MB / 0.8822 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-05/0.01338, allocations: 16.12 kB / 0.8823 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.762e-05/0.01345, allocations: 23.98 kB / 0.8823 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.01365, allocations: 59.62 kB / 0.8823 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01365, allocations: 0 / 0.8823 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003221/0.01398, allocations: 109.2 kB / 0.8824 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.014, allocations: 4 kB / 0.8824 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.014, allocations: 0 / 0.8824 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.01402, allocations: 3.938 kB / 0.8825 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.01422, allocations: 31.92 kB / 0.8825 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.01422, allocations: 0 / 0.8825 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.947e-05/0.01427, allocations: 4 kB / 0.8825 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.01429, allocations: 8 kB / 0.8825 GB, free: 1.258 MB / 0.8386 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000184/0.01447, allocations: 160.6 kB / 0.8826 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.01451, allocations: 8 kB / 0.8827 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003732/0.01489, allocations: 117.8 kB / 0.8828 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.01489, allocations: 3.938 kB / 0.8828 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.0149, allocations: 4 kB / 0.8828 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.0149, allocations: 0 / 0.8828 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007238/0.01563, allocations: 345.4 kB / 0.8831 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.01563, allocations: 0 / 0.8831 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.01585, allocations: 23.92 kB / 0.8831 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.01586, allocations: 7.938 kB / 0.8831 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.01588, allocations: 8 kB / 0.8831 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01588, allocations: 0 / 0.8831 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01588, allocations: 0 / 0.8831 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005342/0.01642, allocations: 267.8 kB / 0.8834 GB, free: 264 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.01643, allocations: 7.953 kB / 0.8834 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.01646, allocations: 3.938 kB / 0.8834 GB, free: 252 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.0166, allocations: 4 kB / 0.8834 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.01664, allocations: 7.984 kB / 0.8834 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.01666, allocations: 7.938 kB / 0.8834 GB, free: 232 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001089/0.01677, allocations: 123.2 kB / 0.8835 GB, free: 108 kB / 0.8386 GB Notification: Performance of sort global known variables: time 1.9e-07/0.01677, allocations: 4 kB / 0.8835 GB, free: 104 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004756/0.01725, allocations: 39.86 kB / 0.8836 GB, free: 64 kB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003366/0.01758, allocations: 135 kB / 0.8837 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000255/0.01784, allocations: 67.59 kB / 0.8838 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.01784, allocations: 3.938 kB / 0.8838 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.01794, allocations: 43.67 kB / 0.8838 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.01832, allocations: 8 kB / 0.8838 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008168/0.01913, allocations: 242.1 kB / 0.8841 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.01925, allocations: 75.19 kB / 0.8841 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.955e-05/0.01933, allocations: 11.98 kB / 0.8841 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/0.01938, allocations: 12.5 kB / 0.8842 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.01938, allocations: 0 / 0.8842 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of Templates: time 0.006693/0.02607, allocations: 0.9571 MB / 0.8851 GB, free: 14.5 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.765310331014916]