Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.001855/0.001855, allocations: 80.84 kB / 19.18 MB, free: 2.516 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.00221/0.00221, allocations: 166.2 kB / 22.46 MB, free: 5.375 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.498/1.498, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.853/2.853, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.033e-05, allocations: 6.281 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002655/0.002685, allocations: 1.286 MB / 0.9827 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.003875, allocations: 0.5448 MB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.908e-05/0.003904, allocations: 0 / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.137e-05/0.003926, allocations: 3.938 kB / 0.9832 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.304e-05/0.003979, allocations: 0 / 0.9832 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006234/0.004602, allocations: 151.2 kB / 0.9834 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.723e-05/0.00467, allocations: 19.92 kB / 0.9834 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.004716, allocations: 0 / 0.9834 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.84e-05/0.004784, allocations: 19.97 kB / 0.9834 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.566e-05/0.00484, allocations: 3.938 kB / 0.9834 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.00486, allocations: 4 kB / 0.9834 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00056/0.00542, allocations: 267.4 kB / 0.9837 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.95e-05/0.005439, allocations: 3.938 kB / 0.9837 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.005472, allocations: 11.98 kB / 0.9837 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000371/0.005843, allocations: 159.4 kB / 0.9838 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.005849, allocations: 0 / 0.9838 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.51e-07/0.00585, allocations: 0 / 0.9838 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.005856, allocations: 4 kB / 0.9838 GB, free: 9.469 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005327/0.006388, allocations: 286 kB / 0.9841 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.006439, allocations: 12.03 kB / 0.9841 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.006477, allocations: 0.9375 kB / 0.9841 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.006618, allocations: 109.8 kB / 0.9842 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.006635, allocations: 8.359 kB / 0.9842 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.006656, allocations: 4.375 kB / 0.9842 GB, free: 9 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.006799, allocations: 67.89 kB / 0.9843 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-06/0.006805, allocations: 192 / 0.9843 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.006815, allocations: 4.375 kB / 0.9843 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.836e-06/0.006818, allocations: 384 / 0.9843 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.777e-05/0.006866, allocations: 11.92 kB / 0.9843 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.007046, allocations: 113.3 kB / 0.9844 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.007284, allocations: 42.61 kB / 0.9845 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.007324, allocations: 16.94 kB / 0.9845 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.007352, allocations: 4 kB / 0.9845 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.007385, allocations: 34.5 kB / 0.9845 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.007386, allocations: 0 / 0.9845 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0006946/0.00808, allocations: 229.2 kB / 0.9847 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.008136, allocations: 63.27 kB / 0.9848 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.558e-05/0.008221, allocations: 93.86 kB / 0.9849 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.008248, allocations: 29.7 kB / 0.9849 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.008302, allocations: 88.14 kB / 0.985 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.008341, allocations: 23.84 kB / 0.985 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.008379, allocations: 17.72 kB / 0.985 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.008542, allocations: 314.8 kB / 0.9853 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.06e-05/0.008573, allocations: 11.98 kB / 0.9854 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.885e-05/0.008602, allocations: 15.98 kB / 0.9854 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.734e-05/0.008669, allocations: 28.86 kB / 0.9854 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.00867, allocations: 0 / 0.9854 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001181/0.008788, allocations: 73.58 kB / 0.9855 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.008803, allocations: 4 kB / 0.9855 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.008808, allocations: 4.234 kB / 0.9855 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.008821, allocations: 0 / 0.9855 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.829e-05/0.00888, allocations: 19.92 kB / 0.9855 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.008891, allocations: 7.922 kB / 0.9855 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.806e-05/0.008909, allocations: 0 / 0.9855 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.008914, allocations: 0.5156 kB / 0.9855 GB, free: 7.555 MB / 0.9356 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 (7): * Single equations (assignments): 7 * 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 9.291e-05/0.009007, allocations: 113.8 kB / 0.9856 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.00902, allocations: 4 kB / 0.9856 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.009186, allocations: 73.73 kB / 0.9857 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.009188, allocations: 0 / 0.9857 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.009194, allocations: 7.938 kB / 0.9857 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.009201, allocations: 3.984 kB / 0.9857 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003747/0.009576, allocations: 259.2 kB / 0.9859 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.00958, allocations: 4 kB / 0.9859 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.454e-05/0.009644, allocations: 11.98 kB / 0.986 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.009647, allocations: 0 / 0.986 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.009662, allocations: 7.938 kB / 0.986 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.009663, allocations: 0 / 0.986 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.009664, allocations: 0 / 0.986 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.009907, allocations: 180.3 kB / 0.9861 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.141e-05/0.009928, allocations: 4.078 kB / 0.9861 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.009947, allocations: 11.97 kB / 0.9862 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.01002, allocations: 4 kB / 0.9862 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.01004, allocations: 11.92 kB / 0.9862 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.01005, allocations: 0 / 0.9862 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.266e-05/0.0101, allocations: 79.28 kB / 0.9862 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0101, allocations: 0 / 0.9862 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002616/0.01036, allocations: 27.88 kB / 0.9863 GB, free: 6.695 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0002433/0.0106, allocations: 122.2 kB / 0.9864 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.01073, allocations: 35.92 kB / 0.9864 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01073, allocations: 4 kB / 0.9864 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.057e-05/0.01076, allocations: 11.98 kB / 0.9864 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.01101, allocations: 8 kB / 0.9864 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004725/0.01149, allocations: 165.8 kB / 0.9866 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.606e-05/0.01156, allocations: 67.34 kB / 0.9867 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.848e-05/0.01159, allocations: 4.141 kB / 0.9867 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.01162, allocations: 16.48 kB / 0.9867 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of SimCode: time 7.01e-07/0.01162, allocations: 0 / 0.9867 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of Templates: time 0.003789/0.01541, allocations: 0.6396 MB / 0.9873 GB, free: 5.613 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.369298703968525]