Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_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.00242/0.00242, allocations: 84.45 kB / 19.96 MB, free: 4.598 MB / 18.57 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.003351/0.003351, allocations: 165.2 kB / 23.23 MB, free: 1.324 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.658/1.658, allocations: 177.1 MB / 203.5 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.988/2.988, allocations: 378.2 MB / 0.6232 GB, free: 8.277 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der_dp|der_dp_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der_dp|der_dp_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 0.9828 GB, free: 1.48 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.535e-05/3.701e-05, allocations: 2.281 kB / 0.9828 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.0029/0.002937, allocations: 1.333 MB / 0.9841 GB, free: 136 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.004157, allocations: 0.5798 MB / 0.9847 GB, free: 15.55 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.004196, allocations: 0 / 0.9847 GB, free: 15.55 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 2.593e-05/0.004222, allocations: 3.938 kB / 0.9847 GB, free: 15.55 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 3.598e-05/0.004258, allocations: 0 / 0.9847 GB, free: 15.55 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007553/0.005014, allocations: 174.8 kB / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 9.525e-05/0.005109, allocations: 31.84 kB / 0.9849 GB, free: 15.35 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.499e-05/0.005164, allocations: 8 kB / 0.9849 GB, free: 15.34 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.379e-05/0.005218, allocations: 11.98 kB / 0.9849 GB, free: 15.33 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.589e-05/0.005294, allocations: 19.91 kB / 0.9849 GB, free: 15.31 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.005312, allocations: 4 kB / 0.9849 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005938/0.005905, allocations: 311.3 kB / 0.9852 GB, free: 15 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.005928, allocations: 7.969 kB / 0.9852 GB, free: 14.99 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.005959, allocations: 12 kB / 0.9852 GB, free: 14.98 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003451/0.006304, allocations: 163.5 kB / 0.9854 GB, free: 14.82 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.006308, allocations: 0 / 0.9854 GB, free: 14.82 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.627e-06/0.006311, allocations: 4 kB / 0.9854 GB, free: 14.82 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.006317, allocations: 4 kB / 0.9854 GB, free: 14.81 MB / 0.948 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.0005341/0.006851, allocations: 294 kB / 0.9857 GB, free: 14.49 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.006892, allocations: 11.97 kB / 0.9857 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.00694, allocations: 8.891 kB / 0.9857 GB, free: 14.47 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.007061, allocations: 109.7 kB / 0.9858 GB, free: 14.34 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.007076, allocations: 4.375 kB / 0.9858 GB, free: 14.34 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.007099, allocations: 4.375 kB / 0.9858 GB, free: 14.33 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.007278, allocations: 101.6 kB / 0.9859 GB, free: 14.21 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.007292, allocations: 192 / 0.9859 GB, free: 14.21 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.007306, allocations: 4.375 kB / 0.9859 GB, free: 14.21 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.007311, allocations: 4.375 kB / 0.9859 GB, free: 14.21 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.831e-05/0.00738, allocations: 19.92 kB / 0.9859 GB, free: 14.19 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002087/0.007588, allocations: 109.3 kB / 0.986 GB, free: 14.05 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.007717, allocations: 62.48 kB / 0.9861 GB, free: 13.98 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.513e-05/0.007772, allocations: 28.84 kB / 0.9861 GB, free: 13.95 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.007801, allocations: 4 kB / 0.9861 GB, free: 13.95 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.007836, allocations: 30.56 kB / 0.9862 GB, free: 13.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.007837, allocations: 3.938 kB / 0.9862 GB, free: 13.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.001467/0.009304, allocations: 459.4 kB / 0.9866 GB, free: 13.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.009354, allocations: 51.41 kB / 0.9867 GB, free: 13.34 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.009467, allocations: 97.84 kB / 0.9867 GB, free: 13.23 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.009492, allocations: 29.7 kB / 0.9868 GB, free: 13.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/0.009543, allocations: 80.14 kB / 0.9868 GB, free: 13.11 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.009587, allocations: 31.7 kB / 0.9869 GB, free: 13.08 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.585e-05/0.009643, allocations: 29.8 kB / 0.9869 GB, free: 13.05 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.009814, allocations: 322.8 kB / 0.9872 GB, free: 12.72 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.829e-05/0.009872, allocations: 19.98 kB / 0.9872 GB, free: 12.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.827e-05/0.00992, allocations: 32.05 kB / 0.9873 GB, free: 12.67 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.01002, allocations: 52.86 kB / 0.9873 GB, free: 12.62 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.01002, allocations: 0 / 0.9873 GB, free: 12.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001717/0.0102, allocations: 105.6 kB / 0.9874 GB, free: 12.51 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.01021, allocations: 4 kB / 0.9874 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.01022, allocations: 0 / 0.9874 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.01024, allocations: 3.938 kB / 0.9874 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.01037, allocations: 23.94 kB / 0.9874 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.01038, allocations: 4.297 kB / 0.9875 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.791e-05/0.01041, allocations: 4 kB / 0.9875 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.01042, allocations: 4 kB / 0.9875 GB, free: 12.46 MB / 0.948 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.0001075/0.01053, allocations: 117.8 kB / 0.9876 GB, free: 12.34 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.01055, allocations: 7.953 kB / 0.9876 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.01077, allocations: 105.7 kB / 0.9877 GB, free: 12.23 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.01077, allocations: 7.875 kB / 0.9877 GB, free: 12.22 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.01078, allocations: 3.984 kB / 0.9877 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.01079, allocations: 4 kB / 0.9877 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.01125, allocations: 286.2 kB / 0.988 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01125, allocations: 0 / 0.988 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.01137, allocations: 19.98 kB / 0.988 GB, free: 11.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.01138, allocations: 7.875 kB / 0.988 GB, free: 11.87 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.01139, allocations: 12 kB / 0.988 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.01139, allocations: 0 / 0.988 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.0114, allocations: 0 / 0.988 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.0117, allocations: 207.5 kB / 0.9882 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.2e-05/0.01171, allocations: 7.984 kB / 0.9882 GB, free: 11.63 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.01173, allocations: 7.969 kB / 0.9882 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.078e-05/0.01182, allocations: 3.938 kB / 0.9882 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.01185, allocations: 7.984 kB / 0.9882 GB, free: 11.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.01186, allocations: 8 kB / 0.9882 GB, free: 11.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.921e-05/0.01191, allocations: 79.28 kB / 0.9883 GB, free: 11.52 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.01191, allocations: 4.094 kB / 0.9883 GB, free: 11.52 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003283/0.01224, allocations: 55.8 kB / 0.9884 GB, free: 11.46 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.000341/0.01258, allocations: 163.4 kB / 0.9885 GB, free: 11.29 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001577/0.01274, allocations: 47.98 kB / 0.9886 GB, free: 11.25 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01274, allocations: 0 / 0.9886 GB, free: 11.25 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.913e-05/0.0128, allocations: 35.92 kB / 0.9886 GB, free: 11.21 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.01303, allocations: 8 kB / 0.9886 GB, free: 11.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006035/0.01363, allocations: 241.2 kB / 0.9888 GB, free: 10.94 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.415e-05/0.01371, allocations: 75.27 kB / 0.9889 GB, free: 10.85 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.535e-05/0.01376, allocations: 8 kB / 0.9889 GB, free: 10.84 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.01379, allocations: 12.5 kB / 0.9889 GB, free: 10.83 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/0.01379, allocations: 0 / 0.9889 GB, free: 10.83 MB / 0.948 GB Notification: Performance of Templates: time 0.004658/0.01845, allocations: 1.227 MB / 0.9901 GB, free: 9.652 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.ref.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: 8.885404478991404]