Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_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.0008127/0.0008127, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001064/0.001876, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001092/0.001092, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001394/0.002486, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9724/0.9724, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1038/1.076, allocations: 53.66 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.402/2.402, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2822/2.684, allocations: 146 MB / 0.8176 GB, free: 3.812 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.819 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322e-05/1.513e-05, allocations: 6.312 kB / 0.819 GB, free: 2.426 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck): time 0.001822/0.001837, allocations: 1.419 MB / 0.8204 GB, free: 0.9883 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007687/0.002606, allocations: 0.607 MB / 0.821 GB, free: 388 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.129e-05/0.002627, allocations: 0 / 0.821 GB, free: 388 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 9.268e-06/0.002637, allocations: 3.984 kB / 0.821 GB, free: 384 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.553e-05/0.002662, allocations: 3.938 kB / 0.821 GB, free: 380 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.003002, allocations: 159.1 kB / 0.8211 GB, free: 220 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.568e-05/0.003078, allocations: 23.92 kB / 0.8212 GB, free: 196 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.628e-05/0.003124, allocations: 4 kB / 0.8212 GB, free: 192 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.157e-05/0.003206, allocations: 15.92 kB / 0.8212 GB, free: 176 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.285e-05/0.003269, allocations: 7.984 kB / 0.8212 GB, free: 168 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.003282, allocations: 0 / 0.8212 GB, free: 168 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003807/0.003662, allocations: 327.3 kB / 0.8215 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.003678, allocations: 0 / 0.8215 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.003697, allocations: 7.938 kB / 0.8215 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.003904, allocations: 131.7 kB / 0.8216 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.384e-05/0.003918, allocations: 0 / 0.8216 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.52e-07/0.003919, allocations: 0 / 0.8216 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.003933, allocations: 0 / 0.8216 GB, free: 15.71 MB / 0.8073 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.000407/0.00434, allocations: 284.2 kB / 0.8219 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.004373, allocations: 8.031 kB / 0.8219 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.004409, allocations: 8.875 kB / 0.8219 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.353e-05/0.004503, allocations: 117.7 kB / 0.822 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.004513, allocations: 384 / 0.822 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.004539, allocations: 4.328 kB / 0.822 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.63e-05/0.004626, allocations: 67.95 kB / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.004634, allocations: 192 / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.00464, allocations: 384 / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.004646, allocations: 384 / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.213e-05/0.004668, allocations: 7.938 kB / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.193e-05/0.00476, allocations: 65.05 kB / 0.8222 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.004923, allocations: 46.53 kB / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.004942, allocations: 16.94 kB / 0.8222 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.004959, allocations: 0 / 0.8222 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.004984, allocations: 30.56 kB / 0.8223 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.004985, allocations: 0 / 0.8223 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0004891/0.005474, allocations: 233.1 kB / 0.8225 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.0055, allocations: 63.34 kB / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.486e-05/0.005555, allocations: 102.7 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.005567, allocations: 25.7 kB / 0.8227 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.447e-05/0.005591, allocations: 84.12 kB / 0.8227 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.005619, allocations: 19.86 kB / 0.8228 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/0.005645, allocations: 17.7 kB / 0.8228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.788e-05/0.005723, allocations: 326.8 kB / 0.8231 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.858e-06/0.005732, allocations: 4 kB / 0.8231 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.568e-06/0.005742, allocations: 4 kB / 0.8231 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.259e-05/0.005775, allocations: 24.89 kB / 0.8231 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.005776, allocations: 4 kB / 0.8231 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.851e-05/0.005835, allocations: 53.78 kB / 0.8232 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.005847, allocations: 4 kB / 0.8232 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.005851, allocations: 80 / 0.8232 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.005864, allocations: 4 kB / 0.8232 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.167e-05/0.005905, allocations: 11.98 kB / 0.8232 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.00591, allocations: 7.984 kB / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.208e-05/0.005922, allocations: 3.938 kB / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.005926, allocations: 0 / 0.8232 GB, free: 13.9 MB / 0.8073 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 5.406e-05/0.00598, allocations: 113.8 kB / 0.8233 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-06/0.005986, allocations: 3.938 kB / 0.8233 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.257e-05/0.006069, allocations: 69.69 kB / 0.8234 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.61e-07/0.00607, allocations: 0 / 0.8234 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.006071, allocations: 0 / 0.8234 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.006074, allocations: 0 / 0.8234 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.006258, allocations: 207.6 kB / 0.8236 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.006259, allocations: 0 / 0.8236 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.006301, allocations: 23.92 kB / 0.8236 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.006312, allocations: 4 kB / 0.8236 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.006314, allocations: 0 / 0.8236 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.00632, allocations: 0 / 0.8236 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.006323, allocations: 7.969 kB / 0.8236 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.006325, allocations: 4 kB / 0.8236 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.006431, allocations: 156.9 kB / 0.8238 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.006441, allocations: 4.188 kB / 0.8238 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.649e-05/0.006477, allocations: 7.984 kB / 0.8238 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.006491, allocations: 11.88 kB / 0.8238 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.006494, allocations: 4 kB / 0.8238 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.689e-06/0.006504, allocations: 8.844 kB / 0.8238 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006504, allocations: 4 kB / 0.8238 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001517/0.006656, allocations: 39.8 kB / 0.8238 GB, free: 13.18 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001717/0.006827, allocations: 136.2 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.883e-05/0.006896, allocations: 32.78 kB / 0.824 GB, free: 13 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.006901, allocations: 0 / 0.824 GB, free: 13 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.117e-05/0.006922, allocations: 24.8 kB / 0.824 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001141/0.007036, allocations: 7.984 kB / 0.824 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008439/0.00788, allocations: 157.3 kB / 0.8242 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.015e-05/0.00791, allocations: 63.45 kB / 0.8242 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.539e-05/0.007936, allocations: 4 kB / 0.8242 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/0.007975, allocations: 55.36 kB / 0.8243 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of SimCode: time 6.72e-07/0.007976, allocations: 0 / 0.8243 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of Templates: time 0.00261/0.01059, allocations: 1.077 MB / 0.8254 GB, free: 11.6 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.157373954541981]