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.0007834/0.0007834, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001113/0.001897, allocations: 435.8 kB / 10.33 MB, free: 368 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.001247/0.001247, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002613, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9339/0.9339, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1031/1.037, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.381/2.381, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2437/2.625, allocations: 145.9 MB / 0.817 GB, free: 4.203 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.623e-06/1.623e-06, allocations: 0 / 0.8183 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.134e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.002917/0.002938, allocations: 1.433 MB / 0.8197 GB, free: 1.383 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.003968, allocations: 0.6149 MB / 0.8203 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.989e-05/0.003998, allocations: 0 / 0.8203 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.392e-05/0.004012, allocations: 3.938 kB / 0.8204 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.317e-05/0.004045, allocations: 3.938 kB / 0.8204 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006025/0.004648, allocations: 159.2 kB / 0.8205 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.858e-05/0.004726, allocations: 35.91 kB / 0.8205 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.299e-05/0.004769, allocations: 7.938 kB / 0.8206 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.011e-05/0.00483, allocations: 11.98 kB / 0.8206 GB, free: 0.5469 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.334e-05/0.004903, allocations: 15.97 kB / 0.8206 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.004918, allocations: 4 kB / 0.8206 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005398/0.005457, allocations: 319.3 kB / 0.8209 GB, free: 220 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.005475, allocations: 7.938 kB / 0.8209 GB, free: 212 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.1e-05/0.005496, allocations: 8 kB / 0.8209 GB, free: 204 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.00579, allocations: 143.5 kB / 0.821 GB, free: 60 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.899e-05/0.005809, allocations: 0 / 0.821 GB, free: 60 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.343e-06/0.00581, allocations: 4 kB / 0.821 GB, free: 56 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.005827, allocations: 0 / 0.821 GB, free: 56 kB / 0.7917 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.000467/0.006294, allocations: 296.2 kB / 0.8213 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.006331, allocations: 8.625 kB / 0.8213 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.006367, allocations: 4.938 kB / 0.8213 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.995e-05/0.006467, allocations: 113.8 kB / 0.8214 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.00648, allocations: 384 / 0.8214 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.006511, allocations: 12.36 kB / 0.8215 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.006634, allocations: 93.59 kB / 0.8215 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.006646, allocations: 4.141 kB / 0.8216 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.006657, allocations: 8.375 kB / 0.8216 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.006665, allocations: 4.375 kB / 0.8216 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.141e-05/0.006706, allocations: 15.92 kB / 0.8216 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000117/0.006823, allocations: 65.05 kB / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.006924, allocations: 46.62 kB / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/0.006956, allocations: 20.84 kB / 0.8217 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.006978, allocations: 3.938 kB / 0.8217 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.007004, allocations: 34.56 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.007006, allocations: 0 / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.001095/0.008101, allocations: 443.7 kB / 0.8222 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.008132, allocations: 51.41 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.499e-05/0.008197, allocations: 106.6 kB / 0.8223 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.008213, allocations: 29.7 kB / 0.8223 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.729e-05/0.00824, allocations: 92.2 kB / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.008282, allocations: 43.62 kB / 0.8225 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.00832, allocations: 21.72 kB / 0.8225 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.018e-05/0.008411, allocations: 318.8 kB / 0.8228 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.985e-05/0.00843, allocations: 11.94 kB / 0.8228 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.293e-05/0.008453, allocations: 18.48 kB / 0.8228 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.009515, allocations: 28.84 kB / 0.8229 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.009521, allocations: 0 / 0.8229 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001657/0.009687, allocations: 69.67 kB / 0.8229 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.009705, allocations: 4 kB / 0.8229 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.00971, allocations: 0 / 0.8229 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.009722, allocations: 4 kB / 0.8229 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.009842, allocations: 27.92 kB / 0.823 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.009849, allocations: 7.938 kB / 0.823 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.827e-05/0.009877, allocations: 0 / 0.823 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.009885, allocations: 0 / 0.823 GB, free: 13.87 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 7.901e-05/0.009964, allocations: 117.8 kB / 0.8231 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.009984, allocations: 11.98 kB / 0.8231 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.0101, allocations: 73.73 kB / 0.8232 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.0101, allocations: 7.984 kB / 0.8232 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.0101, allocations: 0 / 0.8232 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.01011, allocations: 7.938 kB / 0.8232 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.01031, allocations: 222.8 kB / 0.8234 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.01031, allocations: 0 / 0.8234 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.152e-05/0.01038, allocations: 23.94 kB / 0.8234 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.01039, allocations: 11.94 kB / 0.8234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01039, allocations: 0 / 0.8234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-06/0.0104, allocations: 7.938 kB / 0.8234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.0104, allocations: 0 / 0.8234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.0104, allocations: 0 / 0.8234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.01051, allocations: 179.5 kB / 0.8236 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.01052, allocations: 8.031 kB / 0.8236 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.001e-05/0.01056, allocations: 7.938 kB / 0.8236 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.01057, allocations: 11.92 kB / 0.8236 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.01058, allocations: 7.938 kB / 0.8236 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.147e-06/0.01059, allocations: 4.859 kB / 0.8236 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01059, allocations: 0 / 0.8236 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000189/0.01078, allocations: 63.73 kB / 0.8237 GB, free: 13.06 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.0001937/0.01097, allocations: 152 kB / 0.8238 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.14e-05/0.01104, allocations: 52.28 kB / 0.8239 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/0.01105, allocations: 8.094 kB / 0.8239 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.095e-05/0.01107, allocations: 29.27 kB / 0.8239 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001042/0.01118, allocations: 12.22 kB / 0.8239 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009313/0.01211, allocations: 192.2 kB / 0.8241 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.085e-05/0.01214, allocations: 59.36 kB / 0.8242 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.336e-05/0.01217, allocations: 11.98 kB / 0.8242 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.01222, allocations: 63.38 kB / 0.8243 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of SimCode: time 7.42e-07/0.01222, allocations: 0 / 0.8243 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of Templates: time 0.002694/0.01491, allocations: 1.546 MB / 0.8258 GB, free: 10.93 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.206462607719004]