Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008106/0.0008106, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001112/0.001923, 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.0007258/0.0007258, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009985/0.001724, 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.9636/0.9636, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1033/1.067, allocations: 53.68 MB / 243.4 MB, free: 15.49 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.432/2.432, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2745/2.707, 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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der_dp|der_dp_comp",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.819 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.792e-05, allocations: 2.312 kB / 0.819 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.002216/0.002234, allocations: 1.434 MB / 0.8204 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007108/0.002945, allocations: 0.6109 MB / 0.821 GB, free: 376 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.002971, allocations: 0 / 0.821 GB, free: 376 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 9.267e-06/0.00298, allocations: 3.938 kB / 0.821 GB, free: 372 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.229e-05/0.003002, allocations: 0 / 0.821 GB, free: 372 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.003386, allocations: 163.2 kB / 0.8211 GB, free: 208 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.853e-05/0.003455, allocations: 35.84 kB / 0.8212 GB, free: 172 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.003496, allocations: 0 / 0.8212 GB, free: 172 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.286e-05/0.003559, allocations: 19.98 kB / 0.8212 GB, free: 152 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.283e-05/0.003632, allocations: 15.91 kB / 0.8212 GB, free: 136 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.003644, allocations: 0 / 0.8212 GB, free: 136 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004077/0.004051, allocations: 327.3 kB / 0.8215 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.004067, allocations: 4 kB / 0.8215 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.835e-05/0.004086, allocations: 15.94 kB / 0.8215 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.004293, allocations: 135.6 kB / 0.8217 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.289e-05/0.004306, allocations: 4 kB / 0.8217 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.81e-07/0.004306, allocations: 0 / 0.8217 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.482e-05/0.004321, allocations: 0 / 0.8217 GB, free: 15.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004137/0.004735, allocations: 300.1 kB / 0.822 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.00477, allocations: 12.03 kB / 0.822 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.004806, allocations: 0.9375 kB / 0.822 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.212e-05/0.004898, allocations: 117.7 kB / 0.8221 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.00491, allocations: 8.359 kB / 0.8221 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.004937, allocations: 8.375 kB / 0.8221 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.00504, allocations: 93.66 kB / 0.8222 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.005051, allocations: 4.141 kB / 0.8222 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.005058, allocations: 384 / 0.8222 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.005064, allocations: 384 / 0.8222 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.717e-05/0.005092, allocations: 15.92 kB / 0.8222 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.751e-05/0.005189, allocations: 65.05 kB / 0.8223 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.207e-05/0.005271, allocations: 54.56 kB / 0.8223 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.005293, allocations: 16.84 kB / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.005312, allocations: 4 kB / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.005333, allocations: 34.56 kB / 0.8224 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 6.71e-07/0.005333, allocations: 0 / 0.8224 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0007969/0.00613, allocations: 447.7 kB / 0.8228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.006154, allocations: 55.41 kB / 0.8229 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.985e-05/0.006214, allocations: 106.6 kB / 0.823 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.006226, allocations: 29.7 kB / 0.823 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.219e-05/0.006248, allocations: 84.14 kB / 0.8231 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.006283, allocations: 43.62 kB / 0.8231 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.006313, allocations: 25.7 kB / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.555e-05/0.006389, allocations: 314.8 kB / 0.8234 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.635e-05/0.006405, allocations: 8 kB / 0.8234 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.923e-05/0.006424, allocations: 15.98 kB / 0.8235 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.538e-05/0.00647, allocations: 41.81 kB / 0.8235 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.006471, allocations: 128 / 0.8235 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 6.766e-05/0.006538, allocations: 79.25 kB / 0.8236 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.00655, allocations: 4 kB / 0.8236 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.006555, allocations: 3.984 kB / 0.8236 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.006568, allocations: 0 / 0.8236 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.876e-05/0.006636, allocations: 20 kB / 0.8236 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.006642, allocations: 7.938 kB / 0.8236 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.182e-05/0.006654, allocations: 0 / 0.8236 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.00666, allocations: 11.92 kB / 0.8236 GB, free: 13.45 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 (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 5.448e-05/0.006714, allocations: 109.8 kB / 0.8237 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.006724, allocations: 15.94 kB / 0.8237 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.006827, allocations: 73.78 kB / 0.8238 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.00683, allocations: 4 kB / 0.8238 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.006832, allocations: 0 / 0.8238 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.006837, allocations: 3.938 kB / 0.8238 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.007053, allocations: 230.9 kB / 0.824 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.007054, allocations: 0 / 0.824 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.781e-05/0.007122, allocations: 23.98 kB / 0.8241 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-06/0.007128, allocations: 3.953 kB / 0.8241 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.007131, allocations: 7.938 kB / 0.8241 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.00714, allocations: 7.938 kB / 0.8241 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.007141, allocations: 4 kB / 0.8241 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.007142, allocations: 0 / 0.8241 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.007272, allocations: 179.4 kB / 0.8243 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.007281, allocations: 0 / 0.8243 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.031e-05/0.007322, allocations: 4 kB / 0.8243 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.007342, allocations: 11.92 kB / 0.8243 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.007348, allocations: 4 kB / 0.8243 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.08e-05/0.007359, allocations: 8.844 kB / 0.8243 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007359, allocations: 0 / 0.8243 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002072/0.007566, allocations: 59.75 kB / 0.8243 GB, free: 12.65 MB / 0.8073 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.0002053/0.007772, allocations: 164.2 kB / 0.8245 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.742e-05/0.007869, allocations: 52.75 kB / 0.8245 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.007876, allocations: 0 / 0.8245 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.122e-05/0.007907, allocations: 32.73 kB / 0.8246 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.008025, allocations: 15.98 kB / 0.8246 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009675/0.008993, allocations: 180.4 kB / 0.8248 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.693e-05/0.009029, allocations: 59.36 kB / 0.8248 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.512e-05/0.009065, allocations: 7.984 kB / 0.8248 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.288e-05/0.009117, allocations: 63.38 kB / 0.8249 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of SimCode: time 6.31e-07/0.009118, allocations: 0 / 0.8249 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of Templates: time 0.003456/0.01257, allocations: 1.572 MB / 0.8264 GB, free: 10.5 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.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.153121612966061]