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.001051/0.001051, allocations: 76.17 kB / 9.9 MB, free: 0.7891 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001572/0.002623, allocations: 445.7 kB / 10.34 MB, free: 364 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.001084/0.001084, allocations: 149.2 kB / 11.22 MB, free: 2.953 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00147/0.002554, allocations: 471.6 kB / 11.68 MB, free: 2.488 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.8777/0.8777, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0755/0.9532, allocations: 53.65 MB / 243.2 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.848/1.848, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.434/2.282, allocations: 123.3 MB / 0.728 GB, free: 5.836 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.312e-06/1.312e-06, allocations: 0 / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.522e-05, allocations: 2.938 kB / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.001847/0.001862, allocations: 1.39 MB / 0.7307 GB, free: 3.145 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007726/0.002635, allocations: 0.6123 MB / 0.7313 GB, free: 2.547 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.944e-05/0.002654, allocations: 1.438 kB / 0.7313 GB, free: 2.547 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.234e-06/0.002661, allocations: 0 / 0.7313 GB, free: 2.547 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.393e-05/0.002685, allocations: 6.125 kB / 0.7313 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.003074, allocations: 160.5 kB / 0.7314 GB, free: 2.398 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.048e-05/0.003134, allocations: 36.39 kB / 0.7315 GB, free: 2.367 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.874e-05/0.003173, allocations: 1.719 kB / 0.7315 GB, free: 2.367 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004065/0.007238, allocations: 19.98 kB / 0.7315 GB, free: 2.348 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.874e-05/0.007297, allocations: 11.97 kB / 0.7315 GB, free: 2.336 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.007309, allocations: 4 kB / 0.7315 GB, free: 2.332 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004605/0.007769, allocations: 328.1 kB / 0.7318 GB, free: 2.012 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.007781, allocations: 4 kB / 0.7318 GB, free: 2.008 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.637e-05/0.007797, allocations: 8.75 kB / 0.7318 GB, free: 2 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.00802, allocations: 143.5 kB / 0.732 GB, free: 1.859 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.00803, allocations: 1 kB / 0.732 GB, free: 1.859 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.41e-07/0.008031, allocations: 0 / 0.732 GB, free: 1.859 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.008044, allocations: 0 / 0.732 GB, free: 1.859 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.0003605/0.008405, allocations: 285.2 kB / 0.7322 GB, free: 1.555 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.008435, allocations: 8.031 kB / 0.7322 GB, free: 1.547 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.008469, allocations: 9.562 kB / 0.7322 GB, free: 1.539 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.517e-05/0.008555, allocations: 121.6 kB / 0.7324 GB, free: 1.395 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.008565, allocations: 5.062 kB / 0.7324 GB, free: 1.391 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.008591, allocations: 10.08 kB / 0.7324 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.008691, allocations: 97.66 kB / 0.7325 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.0087, allocations: 192 / 0.7325 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-06/0.008707, allocations: 384 / 0.7325 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.008712, allocations: 384 / 0.7325 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.71e-05/0.008739, allocations: 20.56 kB / 0.7325 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.748e-05/0.008836, allocations: 65.05 kB / 0.7325 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.745e-05/0.008914, allocations: 55.5 kB / 0.7326 GB, free: 1.109 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.254e-05/0.008936, allocations: 17.38 kB / 0.7326 GB, free: 1.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.008952, allocations: 4 kB / 0.7326 GB, free: 1.086 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.008974, allocations: 31.69 kB / 0.7327 GB, free: 1.047 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 6.81e-07/0.008975, allocations: 0 / 0.7327 GB, free: 1.047 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0007806/0.009755, allocations: 443.7 kB / 0.7331 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.942e-05/0.009775, allocations: 55.34 kB / 0.7331 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.376e-05/0.009828, allocations: 106.6 kB / 0.7332 GB, free: 388 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.009839, allocations: 25.7 kB / 0.7333 GB, free: 356 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.305e-05/0.009862, allocations: 85.36 kB / 0.7333 GB, free: 268 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.009897, allocations: 43.62 kB / 0.7334 GB, free: 224 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.009932, allocations: 25.72 kB / 0.7334 GB, free: 192 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.128e-05/0.01002, allocations: 320.6 kB / 0.7337 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.01004, allocations: 8 kB / 0.7337 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.75e-05/0.01006, allocations: 11.98 kB / 0.7337 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00306/0.01312, allocations: 40.77 kB / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.01312, allocations: 0 / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 8.801e-05/0.01321, allocations: 69.86 kB / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.01322, allocations: 8 kB / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.01322, allocations: 1.25 kB / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.01323, allocations: 0 / 0.7338 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.296e-05/0.01331, allocations: 27.98 kB / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.01332, allocations: 0.9375 kB / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.01333, allocations: 7.938 kB / 0.7339 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.01334, allocations: 0 / 0.7339 GB, free: 15.69 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 5.485e-05/0.01339, allocations: 114.6 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.01341, allocations: 8.922 kB / 0.734 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.01352, allocations: 77.72 kB / 0.7341 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.01352, allocations: 0.5312 kB / 0.7341 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.01352, allocations: 0 / 0.7341 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.01353, allocations: 4.719 kB / 0.7341 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.01354, allocations: 15.89 kB / 0.7341 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-06/0.01355, allocations: 1.156 kB / 0.7341 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.01e-05/0.01358, allocations: 8 kB / 0.7341 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.01359, allocations: 7.922 kB / 0.7341 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001139/0.01371, allocations: 146.1 kB / 0.7342 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001558/0.01386, allocations: 258.7 kB / 0.7345 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.464e-05/0.0139, allocations: 29.34 kB / 0.7345 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.454e-06/0.0139, allocations: 6.172 kB / 0.7345 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of Backend: time 2.5e-07/0.0139, allocations: 4 kB / 0.7345 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000387/0.01429, allocations: 170.8 kB / 0.7347 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of SimCode: time 0.0005808/0.01487, allocations: 0.7071 MB / 0.7354 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of Templates: time 0.006488/0.02136, allocations: 1.821 MB / 0.7372 GB, free: 12.39 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 -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.6817131182178855]