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.0007518/0.0007518, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009562/0.001708, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006884/0.0006884, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008845/0.001573, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9496/0.9496, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1032/1.053, allocations: 53.64 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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 1.816/1.816, allocations: 378.2 MB / 0.6076 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5005/2.317, allocations: 123.3 MB / 0.728 GB, free: 5.828 MB / 0.698 GB " [Timeout remaining time 178] 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.542e-06/1.542e-06, allocations: 0 / 0.7293 GB, free: 4.516 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.92e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.512 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.002528/0.002547, allocations: 1.395 MB / 0.7307 GB, free: 3.133 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009657/0.003513, allocations: 0.6176 MB / 0.7313 GB, free: 2.527 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.964e-05/0.003542, allocations: 1.375 kB / 0.7313 GB, free: 2.527 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.164e-05/0.003554, allocations: 0 / 0.7313 GB, free: 2.527 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.053e-05/0.003584, allocations: 5.406 kB / 0.7313 GB, free: 2.523 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005707/0.004155, allocations: 163.8 kB / 0.7315 GB, free: 2.375 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.7e-05/0.004232, allocations: 31.7 kB / 0.7315 GB, free: 2.348 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.004277, allocations: 3.938 kB / 0.7315 GB, free: 2.344 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.498e-05/0.004342, allocations: 20.72 kB / 0.7315 GB, free: 2.324 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.922e-05/0.004411, allocations: 11.98 kB / 0.7315 GB, free: 2.312 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.004426, allocations: 5.594 kB / 0.7315 GB, free: 2.309 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006773/0.005104, allocations: 323.3 kB / 0.7319 GB, free: 1.992 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.005121, allocations: 7.938 kB / 0.7319 GB, free: 1.984 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.005145, allocations: 8.656 kB / 0.7319 GB, free: 1.977 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.00543, allocations: 135.6 kB / 0.732 GB, free: 1.844 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.787e-05/0.005447, allocations: 1.312 kB / 0.732 GB, free: 1.844 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.092e-06/0.005448, allocations: 0 / 0.732 GB, free: 1.844 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.904e-05/0.005468, allocations: 0 / 0.732 GB, free: 1.844 MB / 0.698 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.0004397/0.005907, allocations: 296.2 kB / 0.7323 GB, free: 1.527 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.005942, allocations: 9.562 kB / 0.7323 GB, free: 1.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.005981, allocations: 8.875 kB / 0.7323 GB, free: 1.512 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.443e-05/0.006075, allocations: 105.8 kB / 0.7324 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.006091, allocations: 9.703 kB / 0.7324 GB, free: 1.375 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.006118, allocations: 12.33 kB / 0.7324 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.006231, allocations: 97.62 kB / 0.7325 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.006241, allocations: 192 / 0.7325 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.006251, allocations: 5.031 kB / 0.7325 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.006256, allocations: 384 / 0.7325 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.439e-05/0.00629, allocations: 17.05 kB / 0.7325 GB, free: 1.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.006401, allocations: 65.03 kB / 0.7326 GB, free: 1.152 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.023e-05/0.006491, allocations: 51.47 kB / 0.7327 GB, free: 1.094 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.684e-05/0.006518, allocations: 21.08 kB / 0.7327 GB, free: 1.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.006544, allocations: 8.766 kB / 0.7327 GB, free: 1.062 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.006569, allocations: 34.56 kB / 0.7327 GB, free: 1.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.00657, allocations: 0.625 kB / 0.7327 GB, free: 1.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.001018/0.007588, allocations: 442.6 kB / 0.7331 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.00763, allocations: 51.41 kB / 0.7332 GB, free: 484 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.21e-05/0.007692, allocations: 104.3 kB / 0.7333 GB, free: 368 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.007708, allocations: 29.7 kB / 0.7333 GB, free: 332 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.717e-05/0.007735, allocations: 80.14 kB / 0.7334 GB, free: 248 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.00778, allocations: 47.62 kB / 0.7334 GB, free: 200 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.007825, allocations: 31.05 kB / 0.7335 GB, free: 164 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.007932, allocations: 314.8 kB / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.154e-05/0.007954, allocations: 8 kB / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.21e-05/0.007976, allocations: 17.17 kB / 0.7338 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.9e-05/0.008035, allocations: 37.33 kB / 0.7338 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.008036, allocations: 0 / 0.7338 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001038/0.00814, allocations: 72.98 kB / 0.7339 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.008154, allocations: 9.25 kB / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.008159, allocations: 0 / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.008169, allocations: 0 / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.008274, allocations: 24.8 kB / 0.7339 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.008278, allocations: 3.938 kB / 0.7339 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.213e-05/0.0083, allocations: 4.531 kB / 0.7339 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.008307, allocations: 0 / 0.7339 GB, free: 15.67 MB / 0.7136 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 7.149e-05/0.008378, allocations: 118.8 kB / 0.734 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.008397, allocations: 11.98 kB / 0.7341 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.008537, allocations: 70.77 kB / 0.7341 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.008539, allocations: 0 / 0.7341 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.008545, allocations: 5.219 kB / 0.7341 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.008552, allocations: 11.91 kB / 0.7341 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.008824, allocations: 226.7 kB / 0.7344 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.008826, allocations: 0.6562 kB / 0.7344 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.00893, allocations: 16 kB / 0.7344 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.166e-05/0.008942, allocations: 8.703 kB / 0.7344 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.008946, allocations: 3.984 kB / 0.7344 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.008957, allocations: 8.688 kB / 0.7344 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.008959, allocations: 4 kB / 0.7344 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.008962, allocations: 6.016 kB / 0.7344 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.009145, allocations: 179.4 kB / 0.7346 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.009157, allocations: 0 / 0.7346 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/0.009226, allocations: 0 / 0.7346 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.205e-05/0.009248, allocations: 19.86 kB / 0.7346 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.009256, allocations: 5.188 kB / 0.7346 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.07e-05/0.009267, allocations: 4.859 kB / 0.7346 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.009267, allocations: 0 / 0.7346 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003075/0.009575, allocations: 66.17 kB / 0.7347 GB, free: 14.86 MB / 0.7136 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.0002655/0.00984, allocations: 160 kB / 0.7348 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.00995, allocations: 52.77 kB / 0.7349 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.009958, allocations: 0 / 0.7349 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.443e-05/0.009992, allocations: 32.78 kB / 0.7349 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.01016, allocations: 15.06 kB / 0.7349 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.01176, allocations: 181 kB / 0.7351 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.325e-05/0.0118, allocations: 60.53 kB / 0.7351 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.103e-05/0.01185, allocations: 9.953 kB / 0.7352 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.275e-05/0.01191, allocations: 59.38 kB / 0.7352 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.01191, allocations: 0 / 0.7352 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of Templates: time 0.004231/0.01614, allocations: 1.566 MB / 0.7367 GB, free: 12.81 MB / 0.7136 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 -ignoreHideResult -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: 4.766533371061087]